Re: all() and any() routines
Art Adamson writes:
> Is there a better timer available for Euphoria, I can easily retest.
In Euphoria version 1.5 you can call tick_rate(100) to get
a resolution of .01 seconds in the time() function.
Normally the resoultion is about .055 seconds, or tick_rate(18.2).
You might want to go as high as (say) tick_rate(500) for even
better resolution. Beyond 1000 the machine will likely be spending
a few percent of its time handling clock interrupts, and you might see
an (ignorable) suggestion from Windows 95 that you should
run the program in pure DOS 7.0 mode.
Of course the low-tech solution to poor timer resolution is just
to run the benchmark code in a loop (say) 100 times, and then
divide the resulting times by 100.
Regards,
Rob Craig
Rapid Deployment Software
|
Not Categorized, Please Help
|
|