summaryrefslogtreecommitdiffstats
path: root/ProcessList.h
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2008-03-09 08:02:22 +0000
committerHisham Muhammad <hisham@gobolinux.org>2008-03-09 08:02:22 +0000
commit12f4f09e6ed288bdedc86e4ef22f3cc34f0e787a (patch)
tree0b3ce5d14fc72ae391378fa178a0a18b69298664 /ProcessList.h
parent460608d6e215dee3d3af822d974f3a36e5f73d3c (diff)
Add support for Linux per-process IO statistics,
enabled with the --enable-taskstats flag, which requires a kernel compiled with taskstats support. Thanks to Tobias Oetiker!
Diffstat (limited to 'ProcessList.h')
-rw-r--r--ProcessList.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ProcessList.h b/ProcessList.h
index 34bdc46e..a13d3998 100644
--- a/ProcessList.h
+++ b/ProcessList.h
@@ -165,6 +165,10 @@ void ProcessList_sort(ProcessList* this);
bool ProcessList_readStatusFile(ProcessList* this, Process* proc, char* dirname, char* name);
+#ifdef HAVE_TASKSTATS
+void ProcessList_readIoFile(ProcessList* this, Process* proc, char* dirname, char* name);
+#endif
+
bool ProcessList_processEntries(ProcessList* this, char* dirname, Process* parent, float period);
void ProcessList_scan(ProcessList* this);

© 2014-2024 Faster IT GmbH | imprint | privacy policy