From f9a5bd3159c6facebcb16a1df48e6dc8c2258671 Mon Sep 17 00:00:00 2001 From: Burt P Date: Sat, 2 Dec 2017 00:18:42 -0600 Subject: x86: add summary of caches to package information Show actual physical caches by counting only unique references from each "cpu" (hardware thread). Signed-off-by: Burt P --- includes/x86/processor-platform.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'includes/x86') diff --git a/includes/x86/processor-platform.h b/includes/x86/processor-platform.h index 57a9830c..2c0a8ffd 100644 --- a/includes/x86/processor-platform.h +++ b/includes/x86/processor-platform.h @@ -30,6 +30,8 @@ struct _ProcessorCache { gint size; gchar *type; gint ways_of_associativity; + gint uid; /* uid is unique among caches with the same (type, level) */ + gint phy_sock; }; struct _Processor { -- cgit v1.2.3