summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2007-11-09 00:40:59 +0000
committerHisham Muhammad <hisham@gobolinux.org>2007-11-09 00:40:59 +0000
commit855d9eaf9abb82c4775c5be143e71c9de1cd22b3 (patch)
treee341c677065802ee5c8e7103259cb0b1eb2f5975 /ProcessList.h
parentb70b35ea659d9a859de3cb480580ceb98a6b63e0 (diff)
IO-wait time now counts as idle time, which is a more
accurate description. It is still available in split time, now called detailed CPU time. (thanks to Samuel Thibault for the report)
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 8707ce42..578edb9e 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -55,7 +55,7 @@ in the source distribution for its full text.
#endif
#ifndef PER_PROCESSOR_FIELDS
-#define PER_PROCESSOR_FIELDS 20
+#define PER_PROCESSOR_FIELDS 22
#endif
@@ -80,6 +80,7 @@ typedef struct ProcessList_ {
unsigned long long int* userTime;
unsigned long long int* systemTime;
unsigned long long int* systemAllTime;
+ unsigned long long int* idleAllTime;
unsigned long long int* idleTime;
unsigned long long int* niceTime;
unsigned long long int* ioWaitTime;
@@ -90,6 +91,7 @@ typedef struct ProcessList_ {
unsigned long long int* userPeriod;
unsigned long long int* systemPeriod;
unsigned long long int* systemAllPeriod;
+ unsigned long long int* idleAllPeriod;
unsigned long long int* idlePeriod;
unsigned long long int* nicePeriod;
unsigned long long int* ioWaitPeriod;
@@ -117,7 +119,7 @@ typedef struct ProcessList_ {
bool treeView;
bool highlightBaseName;
bool highlightMegabytes;
- bool expandSystemTime;
+ bool detailedCPUTime;
#ifdef DEBUG_PROC
FILE* traceFile;
#endif

© 2014-2024 Faster IT GmbH | imprint | privacy policy