summaryrefslogtreecommitdiff
path: root/multiload/linux-proc.h
blob: 0aba1a0ebbffa02436511a85cba72a5d3ab7be4a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#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);
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