1/* 2 * Copyright 2002-2012 Haiku, Inc. All Rights Reserved. 3 * Distributed under the terms of the MIT License. 4 */ 5#ifndef _SYS_TIMES_H 6#define _SYS_TIMES_H 7 8 9#include <time.h> 10 11 12struct tms { 13 clock_t tms_utime; /* user CPU time */ 14 clock_t tms_stime; /* system CPU time */ 15 clock_t tms_cutime; /* user CPU time of terminated child processes */ 16 clock_t tms_cstime; /* system CPU time of terminated child processes */ 17}; 18 19 20extern 21#ifdef __cplusplus 22"C" 23#endif 24clock_t times(struct tms *tms); 25 26#endif /* _SYS_TIMES_H */ 27