diff options
author | Burt P <pburt0@gmail.com> | 2017-05-23 13:45:14 -0500 |
---|---|---|
committer | Leandro A. F. Pereira <leandro@hardinfo.org> | 2017-06-02 12:50:14 -0700 |
commit | 8bbf82782fbb39f493d7d01dfa30f8add900c56e (patch) | |
tree | f27199da11b053198283d00dd8b4b96ea82978d9 /includes/arm | |
parent | 947cfa55adc63bf4932f32d754a2d4125843ec9b (diff) |
ARM processor information improvements
* Multiple processors/cores reported
* CPU min/max/cur frequency information reported
* Flag definitions
Tested only on Raspberry Pi models 1 and 3.
Signed-off-by: Burt P <pburt0@gmail.com>
Diffstat (limited to 'includes/arm')
-rw-r--r-- | includes/arm/processor-platform.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/arm/processor-platform.h b/includes/arm/processor-platform.h index 8ade2023..a373f8dd 100644 --- a/includes/arm/processor-platform.h +++ b/includes/arm/processor-platform.h @@ -22,9 +22,11 @@ struct _Processor { gchar *model_name; gchar *flags; - gfloat bogomips, cpu_mhz; + gfloat bogomips; - gchar *has_fpu; + gfloat cpu_mhz; /* for devices.c, identical to cpukhz_max/1000 */ + gint cpukhz_max, cpukhz_min, cpukhz_cur; /* for arm/processor.c */ + gint id; }; #endif /* __PROCESSOR_PLATFORM_H__ */ |