1 /*- 2 * Copyright (c) 1990 The Regents of the University of California. 3 * All rights reserved. 4 * 5 * %sccs.include.redist.c% 6 * 7 * @(#)times.h 7.4 (Berkeley) 12/16/90 8 */ 9 10 #include <machine/types.h> 11 12 #ifdef _CLOCK_T_ 13 typedef _CLOCK_T_ clock_t; 14 #undef _CLOCK_T_ 15 #endif 16 17 struct tms { 18 clock_t tms_utime; /* User CPU time */ 19 clock_t tms_stime; /* System CPU time */ 20 clock_t tms_cutime; /* User CPU time of terminated child procs */ 21 clock_t tms_cstime; /* System CPU time of terminated child procs */ 22 }; 23 24 #ifndef KERNEL 25 #if __STDC__ || c_plusplus 26 clock_t times(struct tms *); 27 #else 28 clock_t times(); 29 #endif 30 #endif 31