From 61e25238728dd5cb9922932a5b7279eb6cdb15da Mon Sep 17 00:00:00 2001 From: rbuj Date: Wed, 2 Dec 2020 09:54:00 +0100 Subject: multiload: Use common subdirs - src, data --- multiload/src/linux-proc.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 multiload/src/linux-proc.h (limited to 'multiload/src/linux-proc.h') diff --git a/multiload/src/linux-proc.h b/multiload/src/linux-proc.h new file mode 100644 index 00000000..0aba1a0e --- /dev/null +++ b/multiload/src/linux-proc.h @@ -0,0 +1,13 @@ +#ifndef LINUX_PROC_H__ +#define LINUX_PROC_H__ + +#include + +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 -- cgit v1.2.1