Skip to content

Commit

Permalink
tools/power turbostat: update dump of SECONDARY_TURBO_RATIO_LIMIT
Browse files Browse the repository at this point in the history
cosmetic only (but useful if you copy/paste)

Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
lenb committed Mar 17, 2023
1 parent eeac8ed commit 884a1f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/power/x86/turbostat/turbostat.c
Original file line number Diff line number Diff line change
Expand Up @@ -2538,7 +2538,7 @@ static void dump_turbo_ratio_limits(int trl_msr_offset, int family, int model)

get_msr(base_cpu, trl_msr_offset, &msr);
fprintf(outf, "cpu%d: MSR_%sTURBO_RATIO_LIMIT: 0x%08llx\n",
base_cpu, trl_msr_offset == MSR_SECONDARY_TURBO_RATIO_LIMIT ? "SECONDARY" : "", msr);
base_cpu, trl_msr_offset == MSR_SECONDARY_TURBO_RATIO_LIMIT ? "SECONDARY_" : "", msr);

if (has_turbo_ratio_group_limits(family, model)) {
get_msr(base_cpu, MSR_TURBO_RATIO_LIMIT1, &core_counts);
Expand Down

0 comments on commit 884a1f9

Please sign in to comment.