mirror of
https://github.com/anrieff/libcpuid
synced 2025-10-13 11:10:39 +00:00
Add PURPOSE_LP_EFFICIENCY to cpu_purpose_t for Intel Meteor Lake
This commit is contained in:
parent
587f2597d7
commit
d9f2683aab
3 changed files with 19 additions and 10 deletions
|
@ -1448,9 +1448,10 @@ const char* cpu_purpose_str(cpu_purpose_t purpose)
|
|||
{
|
||||
const struct { cpu_purpose_t purpose; const char* name; }
|
||||
matchtable[] = {
|
||||
{ PURPOSE_GENERAL, "general" },
|
||||
{ PURPOSE_PERFORMANCE, "performance" },
|
||||
{ PURPOSE_EFFICIENCY, "efficiency" },
|
||||
{ PURPOSE_GENERAL, "general" },
|
||||
{ PURPOSE_PERFORMANCE, "performance" },
|
||||
{ PURPOSE_EFFICIENCY, "efficiency" },
|
||||
{ PURPOSE_LP_EFFICIENCY, "low-power efficiency" },
|
||||
};
|
||||
unsigned i, n = COUNT_OF(matchtable);
|
||||
if (n != NUM_CPU_PURPOSES) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue