From 855d9eaf9abb82c4775c5be143e71c9de1cd22b3 Mon Sep 17 00:00:00 2001 From: Hisham Muhammad Date: Fri, 9 Nov 2007 00:40:59 +0000 Subject: 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) --- ProcessList.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'ProcessList.h') 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 -- cgit v1.2.3