summaryrefslogtreecommitdiffstats
path: root/freebsd/Platform.c
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 /freebsd/Platform.c
parent6f387008cba414abdf695ae0eccdc0501bd36a1d (diff)
Add DiskIOMeter for IO read/write usage
Diffstat (limited to 'freebsd/Platform.c')
-rw-r--r--freebsd/Platform.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c
index 318b3e12..36256f9a 100644
--- a/freebsd/Platform.c
+++ b/freebsd/Platform.c
@@ -220,3 +220,8 @@ char* Platform_getProcessEnv(pid_t pid) {
// TODO
return NULL;
}
+
+void Platform_getDiskIO(unsigned long int *bytesRead, unsigned long int *bytesWrite, unsigned long int *msTimeSpend) {
+ // TODO
+ *bytesRead = *bytesWrite = *msTimeSpend = 0;
+}