summaryrefslogtreecommitdiff
path: root/includes/cpu_util.h
diff options
context:
space:
mode:
authorBurt P <pburt0@gmail.com>2017-12-10 22:38:17 -0600
committerLeandro A. F. Pereira <leandro@hardinfo.org>2018-02-27 07:43:20 -0800
commit2f9dad39b0847991dd2b19dc3e999f89397f47f9 (patch)
tree59fdcc4a9d62b99a66ba376029ab52dca3b818e5 /includes/cpu_util.h
parent6a9f6819ae661f64c3c042d48f74d6419f63580e (diff)
x86,arm: cpu clocks list in package information
Show actual clocks where cores or threads share a clock. Ex: x86 SMT each core has one clock shared by both threads. Ex: BCM2837 has one clock for all four cores. Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/cpu_util.h')
-rw-r--r--includes/cpu_util.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/cpu_util.h b/includes/cpu_util.h
index da581a78..c11d3f69 100644
--- a/includes/cpu_util.h
+++ b/includes/cpu_util.h
@@ -25,6 +25,7 @@ typedef struct {
gint cpukhz_max, cpukhz_min, cpukhz_cur;
gchar *scaling_driver, *scaling_governor;
gint transition_latency;
+ gchar *shared_list;
} cpufreq_data;
typedef struct {