2010-11-04 00:46:47 +03:00
|
|
|
/*
|
2012-07-19 22:11:40 +04:00
|
|
|
* Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
|
2010-11-04 00:46:47 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2002-10-29 03:46:31 +03:00
|
|
|
#ifndef _SYS_TIMES_H
|
|
|
|
#define _SYS_TIMES_H
|
|
|
|
|
|
|
|
|
|
|
|
#include <time.h>
|
|
|
|
|
|
|
|
|
|
|
|
struct tms {
|
|
|
|
clock_t tms_utime; /* user CPU time */
|
|
|
|
clock_t tms_stime; /* system CPU time */
|
|
|
|
clock_t tms_cutime; /* user CPU time of terminated child processes */
|
|
|
|
clock_t tms_cstime; /* system CPU time of terminated child processes */
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
extern
|
|
|
|
#ifdef __cplusplus
|
|
|
|
"C"
|
|
|
|
#endif
|
2012-07-19 22:11:40 +04:00
|
|
|
clock_t times(struct tms *tms);
|
2002-10-29 03:46:31 +03:00
|
|
|
|
|
|
|
#endif /* _SYS_TIMES_H */
|