Portable (as possible) sub-second timers

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

 



Hi all;

It doesn't seem that autoconf has any macros that provide for sub-second
timers.  Is there any agreed-upon standard for managing this?  Is
setitimer() the most portable option for sub-second timestamps?  Are
there known portability issues with it?

Should I check for usleep() if setitimer doesn't exist?  What about
nanosleep()?  I expect many systems would need to realtime library
(-lrt) linked to use nanosleep()?  Or not?


Any info appreciated!

-- 
-------------------------------------------------------------------------------
 Paul D. Smith <psmith@xxxxxxxxxx>           HASMAT: HA Software Mthds & Tools
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
-------------------------------------------------------------------------------
        These are my opinions--Nortel takes no responsibility for them.


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux