High Resolution timers support in Fedora?

Ernest L. Williams Jr. ernesto at ornl.gov
Sun Oct 23 13:54:46 UTC 2005


Hi,

I would like to play with high resolution timers under linux and GCC.


Where is the function "gethrtime()" ?  



Is that function only found on solaris?

============= snip from a grep in /usr/include/sys ====================
time.h:extern   hrtime_t        gethrtime(void);
time.h:extern   hrtime_t        gethrtime_unscaled(void);
time.h:extern   hrtime_t        gethrtime_max(void);
time.h:hrtime_t gethrtime(void);
time.h:hrtime_t gethrtime();
=======================================================================



Is ktimer subsystem what we will have in the future?




Thanks,
Ernesto




More information about the fedora-test-list mailing list