times(3) ultrix man page | unix.com

Man Page: times

Operating Environment: ultrix

Section: 3

times(3)						     Library Functions Manual							  times(3)

Name
       times - get process times

Syntax
       #include <sys/times.h>

       clock_t
       times(buffer)
       struct tms *buffer;

Description
       The  subroutine	returns time-accounting information for the current process and for the terminated child processes of the current process.
       All times are in 1/HZ seconds, where HZ is equivalent to 60.

       The following structure is returned by

       struct tms {
	       clock_t	tms_utime;     /* user time */
	       clock_t	tms_stime;     /* system time */
	       clock_t	tms_cutime;    /* user time, children */
	       clock_t	tms_cstime;    /* system time, children */
       };

       The children times are the sum of the children's process times and their children's times.

Return Values
       If successful, the function returns the elapsed time since 00:00:00 GMT, January 1, 1970 in units of 1/60's of a second.  When the function
       fails, it returns -1

See Also
       time(1), getrusage(2), wait3(2), time(3)

																	  times(3)
Related Man Pages
times(3) - mojave
times(2) - sunos
times(3) - netbsd
times(3) - osx
times.h(3head) - centos
Similar Topics in the Unix Linux Community
Copying from one folder to another similar folder 1000x times
How to pick only the latest files based on the timestamp?
New Feature: Member and Reader's Time Zones and Times in Profiles
Grepping a timestamp range and assigning it to a constant
Compare file dates before copy