man(1) Manual page archive


     TIMES(2)                                                 TIMES(2)

     NAME
          times - get process times

     SYNOPSIS
          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/HZ seconds, where HZ=60 in
          North America.

          After the call, the buffer will appear as follows:

          struct tbuffer {
               long proc_user_time;
               long proc_system_time;
               long child_user_time;
               long child_system_time;
          };

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

     SEE ALSO
          time(1), time(2)

     ASSEMBLER
          (times = 43.)
          sys times; buffer