Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ times(3C) — bsd — mips UMIPS RISC/os 5.01

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

getrusage(2)

wait(2)

time(3C)

time(1)



TIMES(3C-BSD)       RISC/os Reference Manual        TIMES(3C-BSD)



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:

     /* --------------------------------------------------- */
     /* | Copyright (c) 1986 MIPS Computer Systems, Inc.  | */
     /* | All Rights Reserved.                            | */
     /* --------------------------------------------------- */
     /* $Header: $

     #ifndef   _SYS_TIMES_
     #define   _SYS_TIMES_    1


     /*   Copyright (c) 1984 AT&T  */
     /*     All Rights Reserved    */

     /*   THIS IS UNPUBLISHED PROPRIETARY SOURCE CODE OF AT&T    */
     /*   The copyright notice above does not evidence any       */
     /*   actual or intended publication of such source code.    */

     /*
      * 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 */
     };

     #endif    _SYS_TIMES_

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




                        Printed 11/19/92                   Page 1





TIMES(3C-BSD)       RISC/os Reference Manual        TIMES(3C-BSD)



SEE ALSO
     getrusage(2), wait(2), time(3C).
     time(1) in the User's Reference Manual.




















































 Page 2                 Printed 11/19/92



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