summaryrefslogtreecommitdiffstats
path: root/solaris
diff options
context:
space:
mode:
authorChristian Göttsche <cgzones@googlemail.com>2020-09-13 19:46:34 +0200
committercgzones <cgzones@googlemail.com>2020-10-03 19:01:38 +0200
commite5184599814a3210497035e9942f154945f2b02f (patch)
tree35b02f22092f4d561adb4be1e98a2847338cb92c /solaris
parent6f387008cba414abdf695ae0eccdc0501bd36a1d (diff)
Add DiskIOMeter for IO read/write usage
Diffstat (limited to 'solaris')
-rw-r--r--solaris/Platform.c5
-rw-r--r--solaris/Platform.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c
index 05b44462..2114215e 100644
--- a/solaris/Platform.c
+++ b/solaris/Platform.c
@@ -258,3 +258,8 @@ char* Platform_getProcessEnv(pid_t pid) {
strncpy( envBuilder.env + envBuilder.size, "\0", 1);
return envBuilder.env;
}
+
+void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend) {
+ // TODO
+ *bytesRead = *bytesWrite = *msTimeSpend = 0;
+}
diff --git a/solaris/Platform.h b/solaris/Platform.h
index 29cc7964..d3dddb72 100644
--- a/solaris/Platform.h
+++ b/solaris/Platform.h
@@ -63,4 +63,6 @@ void Platform_setZfsCompressedArcValues(Meter* this);
char* Platform_getProcessEnv(pid_t pid);
+void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend);
+
#endif

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