summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 287ad60)
raw | patch | inline | side by side (parent: 287ad60)
author | Florian Forster <octo@huhu.verplant.org> | |
Sun, 8 Feb 2009 14:36:58 +0000 (15:36 +0100) | ||
committer | Florian Forster <octo@huhu.verplant.org> | |
Sun, 8 Feb 2009 14:38:26 +0000 (15:38 +0100) |
src/cpu.c | patch | blob | history |
diff --git a/src/cpu.c b/src/cpu.c
index 9a565c57aad6e890421ea2860fabc1ec6d6a6549..da0a3b01d332bb78d9cbf85661cf7612df31bad5 100644 (file)
--- a/src/cpu.c
+++ b/src/cpu.c
return (-1);
}
- cpuinfo[CP_SYS] += cpuinfo[CP_INTR];
-
submit (0, "user", cpuinfo[CP_USER]);
submit (0, "nice", cpuinfo[CP_NICE]);
submit (0, "system", cpuinfo[CP_SYS]);
submit (0, "idle", cpuinfo[CP_IDLE]);
+ submit (0, "interrupt", cpuinfo[CP_INTR]);
/* #endif HAVE_SYSCTLBYNAME */
#elif defined(HAVE_LIBSTATGRAB)