Age | Commit message (Collapse) | Author |
|
from copyright holders - see: https://github.com/lpereira/hardinfo/issues/530 https://github.com/lpereira/hardinfo/issues/707
|
|
|
|
It was kindof translatable before, but as part of a messy
use-once c-format string. In this form it is re-usable elsewhere.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* add cpu_procs_cores_threads() function to get counts from sysfs/topology
* each platform must now provide processor_name() and processor_describe()
* processor_name_default(): returns a list of unique processor->model_name
* processor_describe_default(): returns "N physical; M cores; L threads"
* processor_describe_by_counting_names(): returns a list of unique
processor->model_name with Nx prefix
(ex: "4x ARM Cortex A53 + 4x ARM Cortex A33")
* x86: _name and _describe use defaults
* arm: _name returns name of SOC, if available, _describe returns
processor_describe_by_counting_names()
* all other platforms: _name and _describe use defaults
* Computer module summary now shows both name and description for CPU
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* check if device tree was found before add_keys()
* UNKIFNULL(model) before strcmp
* make UNKIFNULL() STRIFNULL() EMPIFNULL() macros more generic
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* PROC_CPUINFO define used in testing
* STRIFNULL(), UNKIFNULL() EMPIFNULL() macros used in
reading cpuinfo
* byte order, topology, and cpufreq data structures and
functions that are platform independent
* processor_has_flag() helper
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Additional labels made translatable and some cleanup.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Make some recently added info labels easy to translate. Includes
the topology and frequency scaling strings.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Based on the recent ARM work.
* Shows multiple processors, like x86 and ARM
* topology: physical package and core ids
* cpufreq: min/max/cur frequency and driver info
Tested against /proc/cpuinfos from a PowerMac G5 and the
Talos POWER8 workstation. Not tested on actual hardware.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|