There are sections associated with setting the time zone and the locale,
But I am running out of time
And you can read these.
But Process Time, 10.7 is somewhat important
#include <sys/times.h>
clock_t times(struct tms *buffer);
struct tms
{
clock_t tms_utime; /* User CPU time. */
clock_t tms_stime; /* System CPU time. */
clock_t tms_cutime; /* User CPU time of dead children. */
clock_t tms_cstime; /* System CPU time of dead children. */
};
Returns an arbitrary value that only increases.
Think look at clock, note time, look at clock again, subtract difference.
Don't think stopwatch.
This is returned in clock_ticks
sysconf(_SC_CLK_TCK) gives the number of clock ticks per second.