Initial revision
This commit is contained in:
1 parent
1a7957fb1e
commit
dffe0da855
207 files changed
+34390
No files matched your search
@@ -0,0 +1,22 @@
|
||||
#ifndef SIGAR_OS_H
|
||||
#define SIGAR_OS_H
|
||||
|
||||
#ifdef DARWIN
|
||||
#include <mach/port.h>
|
||||
#include <mach/host_info.h>
|
||||
#endif
|
||||
|
||||
#include <sys/sysctl.h>
|
||||
|
||||
struct sigar_t {
|
||||
SIGAR_T_BASE;
|
||||
int pagesize;
|
||||
time_t last_getprocs;
|
||||
sigar_pid_t last_pid;
|
||||
struct kinfo_proc *pinfo;
|
||||
#ifdef DARWIN
|
||||
mach_port_t mach_port;
|
||||
#endif
|
||||
};
|
||||
|
||||
#endif /* SIGAR_OS_H */
|
||||
Reference in new issue
Block a user