Gets the current value of the systemwide clock. Format #include <timers.h> int getclock (int clktyp, struct timespec *tp);