Search
lxdream.org :: lxdream/test/timer.h
lxdream 0.9.1
released Jun 29
Download Now
filename test/timer.h
changeset 262:bc96e0b79308
prev225:e5cea6125580
author nkeynes
date Sat Dec 27 02:59:35 2008 +0000 (15 years ago)
branchlxdream-mem
permissions -rw-r--r--
last change Replace fpscr_mask/fpscr flags in xlat_cache_block with a single xlat_sh4_mode,
which tracks the field of the same name in sh4r - actually a little faster this way.
Now depends on SR.MD, FPSCR.PR and FPSCR.SZ (although it doesn't benefit from the SR
flag yet).

Also fixed the failure to check the flags in the common case (code address returned
by previous block) which took away the performance benefits, but oh well.
view annotate diff log raw
     2 void timer_start();
     3 unsigned int timer_gettime();
     4 unsigned int timer_gettime_us();
     5 unsigned int timer_stop();
     6 unsigned int timer_to_microsecs( long value );
.