mirror of
https://github.com/xzeldon/htop.git
synced 2025-07-12 12:14:36 +03:00
Merge branch 'hishamhm-pull-932'
This commit is contained in:
@ -47,6 +47,8 @@ typedef struct CPUData_ {
|
||||
unsigned long long int softIrqPeriod;
|
||||
unsigned long long int stealPeriod;
|
||||
unsigned long long int guestPeriod;
|
||||
|
||||
double frequency;
|
||||
} CPUData;
|
||||
|
||||
typedef struct TtyDriver_ {
|
||||
@ -73,6 +75,10 @@ typedef struct LinuxProcessList_ {
|
||||
#define PROCDIR "/proc"
|
||||
#endif
|
||||
|
||||
#ifndef PROCCPUINFOFILE
|
||||
#define PROCCPUINFOFILE PROCDIR "/cpuinfo"
|
||||
#endif
|
||||
|
||||
#ifndef PROCSTATFILE
|
||||
#define PROCSTATFILE PROCDIR "/stat"
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user