diff options
| author | Wiimm <wiimm@wiimm.de> | 2023-05-28 05:52:52 +0200 |
|---|---|---|
| committer | Wiimm <wiimm@wiimm.de> | 2023-05-28 05:52:52 +0200 |
| commit | 74ac39c1af5c8e85bf10711aed2ffc9dfee2e277 (patch) | |
| tree | e6cd603f01c3d360c701d6ad5418fe7e133d2c26 /project/dclib/dclib-file.h | |
| parent | f978a965248a5a082d6801ef394bdebb55c78e4f (diff) | |
SZS v2.34a
Diffstat (limited to 'project/dclib/dclib-file.h')
| -rw-r--r-- | project/dclib/dclib-file.h | 16 |
1 files changed, 12 insertions, 4 deletions
diff --git a/project/dclib/dclib-file.h b/project/dclib/dclib-file.h index 8215583..bfc85e6 100644 --- a/project/dclib/dclib-file.h +++ b/project/dclib/dclib-file.h @@ -1679,15 +1679,23 @@ __attribute__ ((__format__(__printf__,3,4))); typedef struct CpuStatus_t { bool valid; // TRUE: data valid (setup done) + bool have_irq; // TRUE if 'irq' ever >0 + bool have_virtual; // TRUE if 'virtual' ever >0 + bool have_unknown; // TRUE if 'unknown' ever >0 + u_nsec_t nsec; // GetTimerNSec() int clock_ticks; // number of clock ticks per second int n_cpu; // total number of cpus // all times in 1e4 ticks per second (in 0.01%) - u64 user; // time spent in user mode. - u64 nice; // time spent in user mode with low priority. - u64 system; // time spent in system mode. - u64 idle; // time spent in the idle task. + u64 user; // 1: time spent in user mode. + u64 nice; // 2: time spent in user mode with low priority. + u64 system; // 3: time spent in system mode. + u64 idle; // 4: time spent in the idle task. + u64 iowait; // 5: time waiting for I/O to complete (not reliable). + u64 irq; // 6..7: Time servicing (soft-)interrupts. + u64 virtual; // 8..10: time for virtual os. + u64 unknown; // 11...: time for future extentions int running_proc; // currently runnable processes int total_proc; // currently total processes |
