Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ times(2) — GENIX 4.1A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

time(1)

time(2)

vtimes(2)



      TIMES(2)                GENIX Programmer's Manual                TIMES(2)



      NAME
           times - get process times

      SYNOPSIS
           #include <sys/types.h>
           #include <sys/times.h>

           times(buffer)
           struct tms *buffer;

      DESCRIPTION
           Times 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 either 50 or 60 depending  on
           your locality.

           This is the structure returned by times:

           /*
            * @(#)times.h 3.2  7/14/83
            * @(#)Copyright (C) 1983 by National Semiconductor Corp.
            */

           /*
            * Structure returned by times()
            */
           struct tms {
                time_t    tms_utime;          /* user time */
                time_t    tms_stime;          /* system time */
                time_t    tms_cutime;         /* user time, children */
                time_t    tms_cstime;         /* system time, children */
           };

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

      SEE ALSO
           time(1), time(2), vtimes(2)

















      Printed 11/16/83                                                        1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026