Age | Commit message (Collapse) | Author |
|
Current CPU configurations aren't properly represented in Hardinfo.
For SMT, each hardware thread is still reported as a CPU. Clusters
with different CPU clock rates are not reported. It is common for
ARM to pair a cluster of fast cores with a cluster of slower, but
more power-efficient cores. These changes attempt to address this.
The getProcessorFrequency method now returns the processor's max
frequency for all its cores. While the new
getProcessorFrequencyDesc lists each unique frequency with a prefix
Nx with the count of cores at that freqency.
Benchmark results have been reformated to use the de-prefixed
getProcessorName and getProcessorFrequencyDesc.
As an example from benchmark.conf:
4x AMD Phenom(tm) II X4 940 Processor | 800 MHz
becomes:
AMD Phenom(tm) II X4 940 Processor | 4x 800 MHz
Which, I think, makes much more sense, as it works well with
this kind of thing:
Qualcomm Snapdragon 691 | 4x 1400 MHz + 4x 800 MHz
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
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>
|
|
|
|
Just translate the msgid "translator-credits". If left untranslated,
the about dialog will hide the tab.
|
|
|
|
|
|
Just ARM for now, but maybe this will become more generic and
it will be possible to have the processor package name and
description seperate, even for x86 and whatnot. Also perhaps
work in Sockets/Threads/Cores information.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
In the future, I think a processor will need a name and a
description. Name as the straight name of the processor or SOC,
and description as what name is now, with 4x and whatnot.
x86 description might be "8 cores, 16 threads" or similar.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
I broke it.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Touched files were changed to 0755 in
6f8cedca0671ab68514352c64579546547804475
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
* Break "Not found" out of a c-format
* Tweak GDB regex. Old one would grab only closing paren
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Use the same strategies from laptop-detect[1] to detect physical
machine type.
[1] https://gitlab.com/debiants/laptop-detect
|
|
Files are going to be opened for reading anyway.
|
|
If the output of `lsb_release -d` didn't contain a "Description: "
substring, it would leak.
|
|
* Each key name must be unique, so using stat values as keys
causes problems if two stats have the same stat value.
* Show all stats, not just those in the form "%d %explaination"
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Require 2.10, so checking anything less isn't needed.
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>
|
|
Shows some code that could be simplified if GTK+2 requirement was
increased.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Renamed in GTK+2.0, but compatibility macro remained until 3.0.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
gtk3 uses uber-graph.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Make sure the whole set exists so they aren't mixed.
Used in util.c and uptime.c
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Use a define for copyright latest year, also used by
`hardinfo --version`
* Don't translate Jakub Szypulka
* Add myself to contributors list
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Fixes strings not being translated in the CLI.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Used as part of https://github.com/lpereira/hardinfo/issues/100
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
also reflect a format markdown for better
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Old load graph still uses ints internally.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* Use gtk_widget_get_window() instead of ->window
cmake:
* add option to build against gtk3 `-DHARDINFO_GTK3=1`
* combine hardinfo-shell static library and hardinfo
* disable guibench for gtk3
hardinfo/util.c:
* widget_set_cursor() gtk3 changes
* For now, the whole function tree_view_save_image() is disabled
for gtk3.
shell/shell.c:
* add gtk_notebook_set_page() compatibility macro if not defined
* shell_summary_add_item() fixes
* Disable RANGE_GET_VALUE() RANGE_SET_VALUE() macros for GTK3. This
is a nigtmare onion to try and peel.
shell/callbacks.c:
* gtk_about_dialog_set_name() -> gtk_about_dialog_set_program_name()
after GTK+2.12.
shell/loadgraph.c:
* builds, but not yet functioning under gtk3
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
|
|
* Language is to be in the form ll or ll_CC,
(examples: "es" for Spanish, "ru_UA" for Russian/Ukraine)
https://www.gnu.org/software/gettext/manual/html_node/Header-Entry.html
* X-Poedit-KeywordsList is for xgettext -k to find
strings in source files, not for humans.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* include includes/
* output git description in stats
* fix spelling mistake
* set/reset X-Poedit-Basepath header
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
After breaking labels out of c-format strings, save any old
translations that are missing.
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|
|
* mixed tab/space indent -> all space
* break translatable labels out of format strings
Signed-off-by: Burt P <pburt0@gmail.com>
|