move cpuid from os/linux to sigar_util for use on other platforms

This commit is contained in:
Doug MacEachern committed 2008-04-09 06:29:08 +00:00
1 parent 277cf2e68e
commit 2b9c8971e0
5 files changed
+118 -104

No files matched your search

+1
View File
@@ -59,6 +59,7 @@ struct sigar_t {
time_t last_getprocs;
sigar_pid_t last_pid;
bsd_pinfo_t *pinfo;
int lcpu;
#ifdef DARWIN
mach_port_t mach_port;
void *libproc;