From e5184599814a3210497035e9942f154945f2b02f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20G=C3=B6ttsche?= Date: Sun, 13 Sep 2020 19:46:34 +0200 Subject: Add DiskIOMeter for IO read/write usage --- solaris/Platform.c | 5 +++++ solaris/Platform.h | 2 ++ 2 files changed, 7 insertions(+) (limited to 'solaris') 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 -- cgit v1.2.3