summaryrefslogtreecommitdiffstats
path: root/pcp/Platform.h
diff options
context:
space:
mode:
authorSohaib Mohamed <sohaib.amhmd@gmail.com>2022-05-04 09:55:43 +0200
committercgzones <cgzones@googlemail.com>2023-02-19 17:56:50 +0100
commitbdb63a497beeb4b317296ca123c507233a2af889 (patch)
treebffc8cc1105326e719aa21fccbe3bb3efdfe1aea /pcp/Platform.h
parent62f4628efef67280c7c480dcd5df65867bd4d960 (diff)
Implement File Descriptor Meter support for PCP
Signed-off-by: Sohaib Mohamed <sohaib.amhmd@gmail.com>
Diffstat (limited to 'pcp/Platform.h')
-rw-r--r--pcp/Platform.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/pcp/Platform.h b/pcp/Platform.h
index f06f2266..f90e2813 100644
--- a/pcp/Platform.h
+++ b/pcp/Platform.h
@@ -131,6 +131,8 @@ extern pmOptions opts;
size_t Platform_addMetric(PCPMetric id, const char* name);
+void Platform_getFileDescriptors(double* used, double* max);
+
void Platform_gettime_realtime(struct timeval* tv, uint64_t* msec);
void Platform_gettime_monotonic(uint64_t* msec);

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