TIMES

Section: Linux Programmer's Manual (2)
Updated: 24 July 1993
Index Return to Main Contents
 

NAME

times - get process times  

SYNOPSIS

#include <sys/times.h>

clock_t times(struct tms *buf);  

DESCRIPTION

times stores the current process times in buf.

struct tms is as defined in /usr/include/sys/times.h:

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 */
};

times returns the number of clock ticks that have elapsed since the system has been up.  

CONFORMING TO

SVID, AT&T, POSIX, X/OPEN, BSD 4.3  

SEE ALSO

time(1), getrusage(2), wait(2)


 

Index

NAME
SYNOPSIS
DESCRIPTION
CONFORMING TO
SEE ALSO

This document was created by man2html, using the manual pages.
Time: 12:25:16 GMT, March 22, 2025