Split platform dependent parts for file locks screen

This commit is contained in:
Benny Baumann
2020-11-11 22:15:35 +01:00
parent 2d6da2e520
commit 18763051a2
19 changed files with 382 additions and 263 deletions

View File

@ -14,6 +14,7 @@ in the source distribution for its full text.
#include "DiskIOMeter.h"
#include "Meter.h"
#include "Process.h"
#include "ProcessLocksScreen.h"
#include "SignalsPanel.h"
extern ProcessField Platform_defaultFields[];
@ -45,8 +46,13 @@ void Platform_setZramValues(Meter* this);
void Platform_setZfsArcValues(Meter* this);
void Platform_setZfsCompressedArcValues(Meter* this);
char* Platform_getProcessEnv(pid_t pid);
char* Platform_getInodeFilename(pid_t pid, ino_t inode);
FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid);
void Platform_getPressureStall(const char *file, bool some, double* ten, double* sixty, double* threehundred);
bool Platform_getDiskIO(DiskIOData* data);