CPUMeter.h 809 Bytes
Newer Older
1
/* Do not edit this file. It was automatically generated. */
Hisham Muhammad's avatar
Hisham Muhammad committed
2
3
4
5

#ifndef HEADER_CPUMeter
#define HEADER_CPUMeter
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - CPUMeter.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
(C) 2004-2011 Hisham H. Muhammad
Hisham Muhammad's avatar
Hisham Muhammad committed
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "Meter.h"

#include "ProcessList.h"

#include <stdlib.h>
#include <curses.h>
#include <string.h>
#include <math.h>

#include "debug.h"
#include <assert.h>

Hisham Muhammad's avatar
Hisham Muhammad committed
24
extern int CPUMeter_attributes[];
Hisham Muhammad's avatar
Hisham Muhammad committed
25

26
27
28
29
30
31
#ifndef MIN
#define MIN(a,b) ((a)<(b)?(a):(b))
#endif
#ifndef MAX
#define MAX(a,b) ((a)>(b)?(a):(b))
#endif
Hisham Muhammad's avatar
Hisham Muhammad committed
32

33
extern MeterType CPUMeter;
34

35
extern MeterType AllCPUsMeter;
36

37
38
39
40
41
42
43
44
45
46
47
extern MeterType AllCPUs2Meter;

extern MeterType LeftCPUsMeter;

extern MeterType RightCPUsMeter;

extern MeterType LeftCPUs2Meter;

extern MeterType RightCPUs2Meter;


Hisham Muhammad's avatar
Hisham Muhammad committed
48
#endif