Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ times(3c) — Atari System V ue12

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getrusage(3)

wait(3)

time(3)

time(1)

wait(2)





   times(3C)               (BSD Compatibility Package)               times(3C)


   NAME
         times - get process times

   SYNOPSIS
         cc [ flag... ] file ... -lucb

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

         This is the structure returned by times:
               struct tms {
                    timet  tmsutime;      /* user time */
                    timet  tmsstime;      /* system time */
                    timet  tmscutime;     /* user time, children */
                    timet  tmscstime;     /* system time, children */
               };

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

   SEE ALSO
         getrusage(3), wait(3), time(3)

         time(1) in the User's Reference Manual.
         wait(2) in the Programmer's Reference Manual

   NOTES
         times has been superseded by getrusage.

















   7/91                                                                 Page 1





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