clock() on ARM has 1-second accuracy?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux