diff options
| author | Burt P <pburt0@gmail.com> | 2017-06-22 19:03:02 -0500 | 
|---|---|---|
| committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-06-23 09:44:50 -0700 | 
| commit | a3e20ae1e02698271964100eaee2d840cf4bd9e4 (patch) | |
| tree | 651bae6156681766951e2a06d0499197d3ca2d7b /includes | |
| parent | 343737985d8c66aba55d5e501a02b44d77133b70 (diff) | |
x86: add socket/core and more cpufreq information
Copied from the recent changes for ARM.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes')
| -rw-r--r-- | includes/x86/processor-platform.h | 6 | 
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/x86/processor-platform.h b/includes/x86/processor-platform.h index 4d7d92ad..3dc4944f 100644 --- a/includes/x86/processor-platform.h +++ b/includes/x86/processor-platform.h @@ -39,8 +39,12 @@ struct _Processor {      gint cache_size;      gfloat bogomips; +    gint id; +    gchar *package_id, *core_id;      gfloat cpu_mhz; /* for devices.c, identical to cpukhz_max/1000 */      gint cpukhz_max, cpukhz_min, cpukhz_cur; /* for x86/processor.c */ +    gchar *scaling_driver, *scaling_governor; +    gint transition_latency;      gchar *has_fpu;      gchar *bug_fdiv, *bug_hlt, *bug_f00f, *bug_coma; @@ -48,8 +52,6 @@ struct _Processor {      gint model, family, stepping;      gchar *strmodel; -    gint id; -      GSList *cache;  };  | 
