summaryrefslogtreecommitdiffstats
path: root/linux/Platform.c
diff options
context:
space:
mode:
Diffstat (limited to 'linux/Platform.c')
-rw-r--r--linux/Platform.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/linux/Platform.c b/linux/Platform.c
index b480fd01..14eb11ff 100644
--- a/linux/Platform.c
+++ b/linux/Platform.c
@@ -165,13 +165,3 @@ void Platform_setSwapValues(Meter* this) {
this->total = pl->totalSwap;
this->values[0] = pl->usedSwap;
}
-
-void Platform_setTasksValues(Meter* this) {
- LinuxProcessList* pl = (LinuxProcessList*) this->pl;
- this->values[0] = pl->kernelThreads;
- this->values[1] = pl->userlandThreads;
- this->values[2] = pl->totalTasks - pl->kernelThreads - pl->userlandThreads;
- this->values[3] = pl->runningTasks;
- if (pl->totalTasks > this->total)
- this->total = pl->totalTasks;
-}