Only calculate M_LRS size every 5 seconds

This commit is contained in:
Benny Baumann
2020-11-16 19:12:41 +01:00
committed by BenBE
parent 7f18b352b0
commit 721d9112d9
2 changed files with 22 additions and 3 deletions

View File

@ -180,6 +180,7 @@ typedef struct LinuxProcess_ {
unsigned long ctxt_total;
unsigned long ctxt_diff;
char* secattr;
unsigned long long int last_mlrs_calctime;
} LinuxProcess;
#define Process_isKernelThread(_process) (((const LinuxProcess*)(_process))->isKernelThread)