]> granicus.if.org Git - procps-ng/commit
library: provided for cpu p-core/e-core identification
authorJim Warner <james.warner@comcast.net>
Wed, 28 Sep 2022 05:00:00 +0000 (00:00 -0500)
committerCraig Small <csmall@dropbear.xyz>
Wed, 28 Sep 2022 07:30:56 +0000 (17:30 +1000)
commit6e5119658989db9dbc74168985a1de7e0dc7f1fe
tree6376bfc4b45ebfc6c7a341601993423148046e6e
parent3e5016c2898d7129d2cdae7b1def8fe85d41619f
library: provided for cpu p-core/e-core identification

With Intel's 12th generation Alder Lake processors now
providing two distinct types of core, it would be nice
if the library offered some sort of clue to core type.

Well, with this patch it does. We'll have 2 additional
enumerators. One deals with the cpu's core association
and the other provides the type of that core (P or E).

[ now, all we need is for some program to exploit it ]

Signed-off-by: Jim Warner <james.warner@comcast.net>
library/include/stat.h
library/stat.c