diff options
author | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:47:07 +1000 |
---|---|---|
committer | Nathan Scott <nathans@redhat.com> | 2020-08-20 14:47:07 +1000 |
commit | 6b443c5da9227221ed793616f156800ab4ee2717 (patch) | |
tree | a545f96ff0d3a7c022efec5eccf8a6ec796c9b03 /linux/LinuxProcessList.h | |
parent | 011125dab2338acac9c4bbc7b04604f01f40e54b (diff) | |
parent | 81b64691a7ee55e5c665ac78290495b0aea946d7 (diff) |
Merge branch 'hishamhm-pull-932'
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r-- | linux/LinuxProcessList.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/linux/LinuxProcessList.h b/linux/LinuxProcessList.h index 4e0acc80..24b94d87 100644 --- a/linux/LinuxProcessList.h +++ b/linux/LinuxProcessList.h @@ -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 |