clock() on ARM has 1-second accuracy?
David Kramer
david@thekramers.net
Fri Dec 3 15:37:00 GMT 2004
We have an Arm 7T developer's board, and have started programming it.
We're finding that clock() seems to change it's output only once a second.
Yes, it's scaled to CLOCKS_PER_SEC, but one-second resolution is
insufficient.
Can someone confirm this for me?
Is there a higher-resolution timer?
Thanks.
-------------------------------------------------------------------
DDDD David Kramer http://thekramers.net
DK KD
DKK D "Remember folks - Traffic lights timed for 35 mph
DK KD are also timed for 70 mph."
DDDD Jim Samuels
More information about the Gcc-help
mailing list