2020-06-15 14:18:57 +00:00
|
|
|
#ifndef COSMOPOLITAN_LIBC_CALLS_STRUCT_TMS_H_
|
|
|
|
#define COSMOPOLITAN_LIBC_CALLS_STRUCT_TMS_H_
|
|
|
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
2022-08-13 20:11:56 +00:00
|
|
|
COSMOPOLITAN_C_START_
|
2020-06-15 14:18:57 +00:00
|
|
|
|
|
|
|
struct tms {
|
|
|
|
int64_t tms_utime; /* userspace time */
|
|
|
|
int64_t tms_stime; /* kernelspace time */
|
|
|
|
int64_t tms_cutime; /* children userspace time */
|
|
|
|
int64_t tms_cstime; /* children kernelspace time */
|
|
|
|
};
|
|
|
|
|
2022-06-09 03:01:28 +00:00
|
|
|
long times(struct tms *);
|
|
|
|
|
2022-08-13 20:11:56 +00:00
|
|
|
COSMOPOLITAN_C_END_
|
2020-06-15 14:18:57 +00:00
|
|
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
|
|
|
#endif /* COSMOPOLITAN_LIBC_CALLS_STRUCT_TMS_H_ */
|