Query: dtk_gettime
OS: debian
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
DTK_GETTIME(3) Draw Toolkit manual DTK_GETTIME(3)NAMEdtk_gettime - high resolution timestampSYNOPSIS#include <dtk_time.h> void dtk_gettime(struct dtk_timespec* ts);DESCRIPTIONThe function dtk_gettime() retrieves the time of a high precision clock. The time is returned in the ts argument which is a pointer to a dtk_timespec structure defined as: struct dtk_timespec { long sec; /* seconds */ long nsec; /* nanoseconds */ }; The time represents seconds and nanoseconds since the Epoch, 1970-01-01 00:00:00 +0000 (UTC).RETURN VALUENoneNOTEThis function is wrapper to clock_gettime(2) if it is provided by the system. Otherwise, it implements the function by using the timer with the highest precision available on the system.SEE ALSOdtk_nanosleep(3), clock_gettime(2)EPFL2011 DTK_GETTIME(3)
Related Man Pages |
---|
clock_settime(3c) - opensolaris |
clock_settime(3rt) - sunos |
clock_gettime(3c) - opensolaris |
clock_gettime(2) - netbsd |
clock_getres(3rt) - sunos |
Similar Topics in the Unix Linux Community |
---|
awk or sed - Convert 2 lines to 1 line |
Find columns in a file based on header and print to new file |
A (ksh) Library For and From UNIX.com |
New UNIX and Linux History Sections |