Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ times(3C) — UTek 3.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

time(1)

getrusage(2)

wait3(2)

time(3)



TIMES(3C)               COMMAND REFERENCE               TIMES(3C)



NAME
     times - get process times

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

     times(buffer)
     struct tms *buffer;

DESCRIPTION
     This interface is obsoleted by getrusage(2).

     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
     60.

     This is the structure returned by times:

          /*        times.h      6.1      (Berkeley)      83/07/29      */

          /*
           * 4.2 BSD Unix - include file
           *
           * $Header: times.3c.nr,v 1.2 87/09/07 15:33:50 chrish LatestOfficial $
           * $Locker:  $
           *
           * Modifications from Berkeley 4.2 BSD
           * Copyright (c) 1983, Tektronix Inc.
           * All Rights Reserved
           *
           */


          /*
           * 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), getrusage(2), wait3(2), and time(3).





Printed 5/12/88                                                 1





































































%%index%%
na:288,77;
sy:365,911;
de:1276,1787;
se:3063,184;
%%index%%000000000083

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