MICROTIME(9) BSD Kernel Manual MICROTIME(9)
microtime - realtime system clock
#include <sys/time.h> void microtime(struct timeval *tv);
microtime() returns the current value of the system realtime clock in the structure pointed to by the argument tv. The system realtime clock is guaranteed to be monotonically increasing at all times. As such, all calls to microtime() are guaranteed to return a system time greater than or equal to the system time returned in any previous calls.
settimeofday(2), hardclock(9), hz(9), inittodr(9), time(9)
The implementation of the microtime() function is machine dependent, hence its location in the source code tree varies from architecture to architecture.
Despite the guarantee that the system realtime clock will always be mono- tonically increasing, it is always possible for the system clock to be manually reset by the system administrator to any date. MirOS BSD #10-current September 14, 1998 1
Generated on 2013-10-31 22:57:03 by $MirOS: src/scripts/roff2htm,v 1.77 2013/01/01 20:49:09 tg Exp $
These manual pages and other documentation are copyrighted by their respective writers;
their source is available at our CVSweb,
AnonCVS, and other mirrors. The rest is Copyright © 2002‒2013 The MirOS Project, Germany.
This product includes material provided by Thorsten Glaser.
This manual page’s HTML representation is supposed to be valid XHTML/1.1; if not, please send a bug report – diffs preferred.