You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
1004 B
51 lines
1004 B
/* Do not edit this file. It was automatically generated. */ |
|
|
|
#ifndef HEADER_CPUMeter |
|
#define HEADER_CPUMeter |
|
/* |
|
htop - CPUMeter.h |
|
(C) 2004-2011 Hisham H. Muhammad |
|
Released under the GNU GPL, see the COPYING file |
|
in the source distribution for its full text. |
|
*/ |
|
|
|
#include "Meter.h" |
|
|
|
typedef enum { |
|
CPU_METER_NICE = 0, |
|
CPU_METER_NORMAL = 1, |
|
CPU_METER_KERNEL = 2, |
|
CPU_METER_IRQ = 3, |
|
CPU_METER_SOFTIRQ = 4, |
|
CPU_METER_STEAL = 5, |
|
CPU_METER_GUEST = 6, |
|
CPU_METER_IOWAIT = 7, |
|
CPU_METER_ITEMCOUNT = 8, // number of entries in this enum |
|
} CPUMeterValues; |
|
|
|
|
|
extern int CPUMeter_attributes[]; |
|
|
|
#ifndef MIN |
|
#define MIN(a,b) ((a)<(b)?(a):(b)) |
|
#endif |
|
#ifndef MAX |
|
#define MAX(a,b) ((a)>(b)?(a):(b)) |
|
#endif |
|
|
|
extern MeterClass CPUMeter_class; |
|
|
|
extern MeterClass AllCPUsMeter_class; |
|
|
|
extern MeterClass AllCPUs2Meter_class; |
|
|
|
extern MeterClass LeftCPUsMeter_class; |
|
|
|
extern MeterClass RightCPUsMeter_class; |
|
|
|
extern MeterClass LeftCPUs2Meter_class; |
|
|
|
extern MeterClass RightCPUs2Meter_class; |
|
|
|
|
|
#endif
|
|
|