compiled newlib, need to hook up the system calls
This commit is contained in:
17
rocklibc/include/sys/times.h
Normal file
17
rocklibc/include/sys/times.h
Normal file
@@ -0,0 +1,17 @@
|
||||
#ifndef _SYS_TIMES_H
|
||||
#define _SYS_TIMES_H
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
/* Structure describing CPU time used by a process and its children */
|
||||
struct tms {
|
||||
clock_t tms_utime; /* User CPU time */
|
||||
clock_t tms_stime; /* System CPU time */
|
||||
clock_t tms_cutime; /* User CPU time of dead children */
|
||||
clock_t tms_cstime; /* System CPU time of dead children */
|
||||
};
|
||||
|
||||
/* Function prototype for timing system call */
|
||||
clock_t times(struct tms *buffer);
|
||||
|
||||
#endif /* _SYS_TIMES_H */
|
||||
Reference in New Issue
Block a user