summaryrefslogtreecommitdiffstats
path: root/linux/LinuxProcessList.h
diff options
context:
space:
mode:
authorNathan Scott <nathans@redhat.com>2020-08-20 14:47:07 +1000
committerNathan Scott <nathans@redhat.com>2020-08-20 14:47:07 +1000
commit6b443c5da9227221ed793616f156800ab4ee2717 (patch)
treea545f96ff0d3a7c022efec5eccf8a6ec796c9b03 /linux/LinuxProcessList.h
parent011125dab2338acac9c4bbc7b04604f01f40e54b (diff)
parent81b64691a7ee55e5c665ac78290495b0aea946d7 (diff)
Merge branch 'hishamhm-pull-932'
Diffstat (limited to 'linux/LinuxProcessList.h')
-rw-r--r--linux/LinuxProcessList.h6
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

© 2014-2024 Faster IT GmbH | imprint | privacy policy