abis: Commit missing resource.h
This commit is contained in:
parent
4d9d7718ea
commit
df72f8a806
25
abis/linux/x86_64/resource.h
Normal file
25
abis/linux/x86_64/resource.h
Normal file
|
@ -0,0 +1,25 @@
|
|||
#ifndef _ABIBITS_RESOURCE_H
|
||||
#define _ABIBITS_RESOURCE_H
|
||||
|
||||
#include <bits/posix/timeval.h>
|
||||
|
||||
struct rusage {
|
||||
struct timeval ru_utime;
|
||||
struct timeval ru_stime;
|
||||
long ru_maxrss;
|
||||
long ru_ixrss;
|
||||
long ru_idrss;
|
||||
long ru_isrss;
|
||||
long ru_minflt;
|
||||
long ru_majflt;
|
||||
long ru_nswap;
|
||||
long ru_inblock;
|
||||
long ru_oublock;
|
||||
long ru_msgsnd;
|
||||
long ru_msgrcv;
|
||||
long ru_nsignals;
|
||||
long ru_nvcsw;
|
||||
long ru_nivcsw;
|
||||
};
|
||||
|
||||
#endif // _ABIBITS_RESOURCE_H
|
11
abis/mlibc/resource.h
Normal file
11
abis/mlibc/resource.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
#ifndef _ABIBITS_RESOURCE_H
|
||||
#define _ABIBITS_RESOURCE_H
|
||||
|
||||
#include <bits/posix/timeval.h>
|
||||
|
||||
struct rusage {
|
||||
struct timeval ru_utime;
|
||||
struct timeval ru_stime;
|
||||
};
|
||||
|
||||
#endif // _ABIBITS_RESOURCE_H
|
Loading…
Reference in a new issue