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

#ifndef HEADER_Platform
#define HEADER_Platform
/*
Hisham Muhammad's avatar
Hisham Muhammad committed
6
htop - freebsd/Platform.h
Hisham Muhammad's avatar
Hisham Muhammad committed
7
8
9
10
11
12
(C) 2014 Hisham H. Muhammad
Released under the GNU GPL, see the COPYING file
in the source distribution for its full text.
*/

#include "Action.h"
13
#include "BatteryMeter.h"
Hisham Muhammad's avatar
Hisham Muhammad committed
14

15
16
17
18
19
20
21
extern ProcessFieldData Process_fields[];


extern ProcessField Platform_defaultFields[];

extern int Platform_numberOfFields;

Hisham Muhammad's avatar
Hisham Muhammad committed
22
23
void Platform_setBindings(Htop_Action* keys);

Hisham Muhammad's avatar
Hisham Muhammad committed
24
25
extern MeterClass* Platform_meterTypes[];

Hisham Muhammad's avatar
Hisham Muhammad committed
26
int Platform_getUptime();
Hisham Muhammad's avatar
Hisham Muhammad committed
27

Hisham Muhammad's avatar
Hisham Muhammad committed
28
29
void Platform_getLoadAverage(double* one, double* five, double* fifteen);

Hisham Muhammad's avatar
Hisham Muhammad committed
30
31
int Platform_getMaxPid();

32
33
34
35
36
double Platform_setCPUValues(Meter* this, int cpu);

void Platform_setMemoryValues(Meter* this);

void Platform_setSwapValues(Meter* this);
37

38
void Platform_setTasksValues(Meter* this);
39

Hisham Muhammad's avatar
Hisham Muhammad committed
40
#endif