Commit d9d226ff authored by Len Brown's avatar Len Brown

tools/power turbostat: decode cpuid.1.HT

eg. the "HT" here:
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM
Signed-off-by: default avatarLen Brown <len.brown@intel.com>
parent bdd5ae3a
...@@ -4394,7 +4394,7 @@ void process_cpuid() ...@@ -4394,7 +4394,7 @@ void process_cpuid()
if (!quiet) { if (!quiet) {
fprintf(outf, "%d CPUID levels; family:model:stepping 0x%x:%x:%x (%d:%d:%d)\n", fprintf(outf, "%d CPUID levels; family:model:stepping 0x%x:%x:%x (%d:%d:%d)\n",
max_level, family, model, stepping, family, model, stepping); max_level, family, model, stepping, family, model, stepping);
fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s\n", fprintf(outf, "CPUID(1): %s %s %s %s %s %s %s %s %s %s\n",
ecx & (1 << 0) ? "SSE3" : "-", ecx & (1 << 0) ? "SSE3" : "-",
ecx & (1 << 3) ? "MONITOR" : "-", ecx & (1 << 3) ? "MONITOR" : "-",
ecx & (1 << 6) ? "SMX" : "-", ecx & (1 << 6) ? "SMX" : "-",
...@@ -4403,6 +4403,7 @@ void process_cpuid() ...@@ -4403,6 +4403,7 @@ void process_cpuid()
edx & (1 << 4) ? "TSC" : "-", edx & (1 << 4) ? "TSC" : "-",
edx & (1 << 5) ? "MSR" : "-", edx & (1 << 5) ? "MSR" : "-",
edx & (1 << 22) ? "ACPI-TM" : "-", edx & (1 << 22) ? "ACPI-TM" : "-",
edx & (1 << 28) ? "HT" : "-",
edx & (1 << 29) ? "TM" : "-"); edx & (1 << 29) ? "TM" : "-");
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment