mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Only calculate M_LRS size every 5 seconds
This commit is contained in:
@ -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)
|
||||
|
Reference in New Issue
Block a user