Search
lxdream.org :: lxdream/test/timer.h :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename test/timer.h
changeset 225:e5cea6125580
next262:bc96e0b79308
author nkeynes
date Wed Jan 03 09:00:17 2007 +0000 (17 years ago)
permissions -rw-r--r--
last change Adjust timers when they're read rather than waiting until the next time
slice. Also temporarily cut the CPU time by 4.
Initialize the FRQCR register to 0x0E0A for convenience
file annotate diff log raw
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/test/timer.h Wed Jan 03 09:00:17 2007 +0000
1.3 @@ -0,0 +1,5 @@
1.4 +
1.5 +void timer_start();
1.6 +long timer_gettime();
1.7 +long timer_stop();
1.8 +long timer_to_microsecs( long value );
.