diff options
author | L Pereira <l@tia.mat.br> | 2021-11-07 22:47:24 -0800 |
---|---|---|
committer | L Pereira <l@tia.mat.br> | 2021-11-07 22:47:24 -0800 |
commit | 78dbd1bf5189a040c105ae05d1c0d2d414375ca8 (patch) | |
tree | 22e10a26d6915458c72ba977a819e5c104805036 /modules/devices.c | |
parent | 66227e5a35b86869bcf3c96ba9cac8d48cb1cdef (diff) |
Use structured data to rebuild CPU Description as well
Diffstat (limited to 'modules/devices.c')
-rw-r--r-- | modules/devices.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/devices.c b/modules/devices.c index d13334cc..0f33af48 100644 --- a/modules/devices.c +++ b/modules/devices.c @@ -173,6 +173,8 @@ gchar *processor_describe_default(GSList * processors) cpu_procs_cores_threads_nodes(&packs, &cores, &threads, &nodes); + /* NOTE: If this is changed, look at get_cpu_desc() in bench_results.c! */ + /* if topology info was available, else fallback to old method */ if (cores > 0) { packs_fmt = ngettext("%d physical processor", "%d physical processors", packs); |