File: timer.txt

package info (click to toggle)
fuse-emulator 1.1.1%2Bdfsg1-2
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 11,120 kB
  • ctags: 8,968
  • sloc: ansic: 78,960; sh: 11,228; perl: 3,742; makefile: 1,104; yacc: 236; lex: 140
file content (18 lines) | stat: -rw-r--r-- 584 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
What you need to implement for Fuse's timing routines
=====================================================

If you're using SDL as the user interface, Fuse will use SDL's timing routines
and no further implementation is required.

If you're not using SDL, two routines are required:

* double compat_timer_get_time( void )

Return the number of seconds since an arbitrary epoch, or a value < 0 if
the time could not be determined.

* void compat_timer_sleep( int ms )

Cause Fuse to go to sleep for the given number of milliseconds.

$Id: timer.txt 3934 2009-01-06 13:01:37Z pak21 $