diff options
author | Benny Baumann <BenBE@geshi.org> | 2023-02-14 10:15:21 +0100 |
---|---|---|
committer | cgzones <cgzones@googlemail.com> | 2023-02-19 17:56:50 +0100 |
commit | 27c9e79ab1b14a61f99ee912ef58d469ee4f82b9 (patch) | |
tree | a2cdd39b40ff24c401345f1719156d0b5f6c27ac /solaris | |
parent | 3b6019725defb5b5f516d1abd61906c2398d4bfa (diff) |
Implement File Descriptor Meter stub for Solaris
Diffstat (limited to 'solaris')
-rw-r--r-- | solaris/Platform.c | 5 | ||||
-rw-r--r-- | solaris/Platform.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/solaris/Platform.c b/solaris/Platform.c index 96f35263..4cadf1a0 100644 --- a/solaris/Platform.c +++ b/solaris/Platform.c @@ -313,6 +313,11 @@ FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid) { return NULL; } +void Platform_getFileDescriptors(double* used, double* max) { + *used = NAN; + *max = NAN; +} + bool Platform_getDiskIO(DiskIOData* data) { // TODO (void)data; diff --git a/solaris/Platform.h b/solaris/Platform.h index 14431e35..3dc6e3b5 100644 --- a/solaris/Platform.h +++ b/solaris/Platform.h @@ -88,6 +88,8 @@ char* Platform_getProcessEnv(pid_t pid); FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid); +void Platform_getFileDescriptors(double* used, double* max); + bool Platform_getDiskIO(DiskIOData* data); bool Platform_getNetworkIO(NetworkIOData* data); |