diff options
author | Christian Göttsche <cgzones@googlemail.com> | 2020-09-13 19:46:34 +0200 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2020-10-03 19:01:38 +0200 |
commit | e5184599814a3210497035e9942f154945f2b02f (patch) | |
tree | 35b02f22092f4d561adb4be1e98a2847338cb92c /darwin | |
parent | 6f387008cba414abdf695ae0eccdc0501bd36a1d (diff) |
Add DiskIOMeter for IO read/write usage
Diffstat (limited to 'darwin')
-rw-r--r-- | darwin/Platform.c | 5 | ||||
-rw-r--r-- | darwin/Platform.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/darwin/Platform.c b/darwin/Platform.c index 747ffefb..5aa50a65 100644 --- a/darwin/Platform.c +++ b/darwin/Platform.c @@ -305,3 +305,8 @@ char* Platform_getProcessEnv(pid_t pid) { return env; } + +void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend) { + // TODO + *bytesRead = *bytesWrite = *msTimeSpend = 0; +} diff --git a/darwin/Platform.h b/darwin/Platform.h index 6c038587..3a6f119f 100644 --- a/darwin/Platform.h +++ b/darwin/Platform.h @@ -48,4 +48,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 |