diff options
author | rbuj <[email protected]> | 2020-07-26 16:21:46 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-29 19:28:08 +0200 |
commit | c7077cfd71cc74222db699a910f8507c5c68b98c (patch) | |
tree | 0ce78b34e753f1fdb71a6908f34c55d688eee99a /multiload/linux-proc.h | |
parent | 3733313e90b81cb171d3ece44c537c435f42c090 (diff) | |
download | mate-applets-c7077cfd71cc74222db699a910f8507c5c68b98c.tar.bz2 mate-applets-c7077cfd71cc74222db699a910f8507c5c68b98c.tar.xz |
multiload: Use the id instead of the name to identify the graph type
Diffstat (limited to 'multiload/linux-proc.h')
-rw-r--r-- | multiload/linux-proc.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/multiload/linux-proc.h b/multiload/linux-proc.h index fdcb1359..b64a7e8a 100644 --- a/multiload/linux-proc.h +++ b/multiload/linux-proc.h @@ -3,14 +3,14 @@ #include <load-graph.h> -G_GNUC_INTERNAL void GetLoad (int Maximum, int data [5], LoadGraph *g); -G_GNUC_INTERNAL void GetDiskLoad (int Maximum, int data [3], LoadGraph *g); +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); +G_GNUC_INTERNAL void GetPage (int Maximum, int data [3], LoadGraph *g); #endif /* 0 */ -G_GNUC_INTERNAL void GetMemory (int Maximum, int data [4], LoadGraph *g); -G_GNUC_INTERNAL void GetSwap (int Maximum, int data [2], 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); +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 |