blob: b64a7e8a1cab2025f12597756fe80ec47f2b004d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#ifndef LINUX_PROC_H__
#define LINUX_PROC_H__
#include <load-graph.h>
G_GNUC_INTERNAL void GetLoad (int Maximum, int data [cpuload_n], LoadGraph *g);
G_GNUC_INTERNAL void GetDiskLoad (int Maximum, int data [diskload_n], LoadGraph *g);
#if 0
G_GNUC_INTERNAL void GetPage (int Maximum, int data [3], LoadGraph *g);
#endif /* 0 */
G_GNUC_INTERNAL void GetMemory (int Maximum, int data [memload_n], LoadGraph *g);
G_GNUC_INTERNAL void GetSwap (int Maximum, int data [swapload_n], LoadGraph *g);
G_GNUC_INTERNAL void GetLoadAvg (int Maximum, int data [2], LoadGraph *g);
G_GNUC_INTERNAL void GetNet (int Maximum, int data [4], LoadGraph *g);
#endif
|