From 50ef341512ebe70dad3e69d87e381f535d139876 Mon Sep 17 00:00:00 2001 From: hwspeedy Date: Sat, 9 Mar 2024 03:42:02 +0100 Subject: FIX when cores not set - set to thread - probably SBC - best for benchmark --- hardinfo2/cpu_util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hardinfo2') diff --git a/hardinfo2/cpu_util.c b/hardinfo2/cpu_util.c index acbe63db..4248509b 100644 --- a/hardinfo2/cpu_util.c +++ b/hardinfo2/cpu_util.c @@ -113,7 +113,7 @@ int cpu_procs_cores_threads_nodes(int *p, int *c, int *t, int *n) } if (!*c) - *c = 1; + *c = *t; //if no cores, set to threads - probably SBC, best for benchmark if (!*p) *p = 1; if (!*n) -- cgit v1.2.3