/sys/doc/ Documentation archive



TIMES(II)                     8/5/73                    TIMES(II)



NAME
     times - get process times

SYNOPSIS
     (times = 43.; not in assembler)
     sys  times; buffer

     times(buffer)
     struct tbuffer *buffer;

DESCRIPTION
     Times  returns  time-accounting  information for the current
     process and for the terminated child processes of  the  cur-
     rent process.  All times are in 1/60 seconds.

     After the call, the buffer will appear as follows:

     struct tbuffer {
          int  proc_user_time;
          int  proc_system_time;
          int  child_user_time[2];
          int  child_system_time[2];
     };

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

SEE ALSO
     time(I)

DIAGNOSTICS
     -

BUGS
     The process times should be 32 bits as well.






















                              - 1 -