Go to the previous, next section.
clock_t times(struct tms *buf);
buf: [out] where to store the times.
Retreives the current task times. The tms structure has the
layout:
struct tms {
time_t tms_utime; /* user time */
time_t tms_stime; /* system time */
time_t tms_cutime; /* user time of children */
time_t tms_cstime; /* system time of children */
};
The number of system ticks elapsed since the system has booted.
Go to the previous, next section.