summaryrefslogtreecommitdiffstats
path: root/linux/Platform.h
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-10-08 16:34:54 +0200
committercgzones <cgzones@googlemail.com>2020-10-16 20:00:14 +0200
commit7cd093ce95c1f59cfc1ee2786578457ea6fa1559 (patch)
tree6f86c845bed7b5ce58e222e8000e53d80756578c /linux/Platform.h
parenta8029612862e6ef6ab55b2f7adc2c8b4ac554cee (diff)
Add NetworkIOMeter
Diffstat (limited to 'linux/Platform.h')
-rw-r--r--linux/Platform.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/linux/Platform.h b/linux/Platform.h
index 66a60d8b..007cd32b 100644
--- a/linux/Platform.h
+++ b/linux/Platform.h
@@ -46,4 +46,9 @@ void Platform_getPressureStall(const char *file, bool some, double* ten, double*
void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
+void Platform_getNetworkIO(unsigned long int *bytesReceived,
+ unsigned long int *packetsReceived,
+ unsigned long int *bytesTransmitted,
+ unsigned long int *packetsTransmitted);
+
#endif

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