From 78dbd1bf5189a040c105ae05d1c0d2d414375ca8 Mon Sep 17 00:00:00 2001 From: L Pereira Date: Sun, 7 Nov 2021 22:47:24 -0800 Subject: Use structured data to rebuild CPU Description as well --- modules/devices.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'modules/devices.c') 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); -- cgit v1.2.3