blob: 47ef8882f6d678a0b7d4e3c2c63f03f456fde4e8 [file] [log] [blame]
Hisham Muhammad33113fe2006-04-10 20:40:38 +00001/* Do not edit this file. It was automatically generated. */
Hisham Muhammadd6231ba2006-03-04 18:16:49 +00002
3#ifndef HEADER_CPUMeter
4#define HEADER_CPUMeter
5/*
Hisham Muhammadf6e0b7d2006-06-06 20:28:42 +00006htop - CPUMeter.h
Hisham Muhammad300caa02011-05-26 16:35:07 +00007(C) 2004-2011 Hisham H. Muhammad
Hisham Muhammadd6231ba2006-03-04 18:16:49 +00008Released under the GNU GPL, see the COPYING file
9in the source distribution for its full text.
10*/
11
12#include "Meter.h"
13
14#include "ProcessList.h"
15
16#include <stdlib.h>
17#include <curses.h>
18#include <string.h>
19#include <math.h>
Hisham Muhammadd6231ba2006-03-04 18:16:49 +000020
21#include "debug.h"
22#include <assert.h>
23
Hisham Muhammadf6e0b7d2006-06-06 20:28:42 +000024extern int CPUMeter_attributes[];
Hisham Muhammadd6231ba2006-03-04 18:16:49 +000025
Hisham Muhammad33113fe2006-04-10 20:40:38 +000026#ifndef MIN
27#define MIN(a,b) ((a)<(b)?(a):(b))
28#endif
29#ifndef MAX
30#define MAX(a,b) ((a)>(b)?(a):(b))
31#endif
Hisham Muhammadd6231ba2006-03-04 18:16:49 +000032
Hisham Muhammadda23c8c2008-03-09 08:58:38 +000033extern MeterType CPUMeter;
Hisham Muhammad33113fe2006-04-10 20:40:38 +000034
Hisham Muhammadda23c8c2008-03-09 08:58:38 +000035extern MeterType AllCPUsMeter;
Hisham Muhammad33113fe2006-04-10 20:40:38 +000036
Hisham Muhammad7ca10812011-11-18 06:08:56 +000037extern MeterType AllCPUs2Meter;
38
39extern MeterType LeftCPUsMeter;
40
41extern MeterType RightCPUsMeter;
42
43extern MeterType LeftCPUs2Meter;
44
45extern MeterType RightCPUs2Meter;
46
47
Hisham Muhammadd6231ba2006-03-04 18:16:49 +000048#endif