1
0
Fork 0

tools/power turbostat: Baytrail: remove debug line in quiet mode

Without --debug, a debug line was printed on Baytrail:

SLM BCLK: 83.3 Mhz

Signed-off-by: Len Brown <len.brown@intel.com>
hifive-unleashed-5.1
Len Brown 2017-01-07 22:40:23 -05:00
parent 71616c8e93
commit 8f6196c192
1 changed files with 2 additions and 1 deletions

View File

@ -3388,7 +3388,8 @@ double slm_bclk(void)
}
freq = slm_freq_table[i];
fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq);
if (debug)
fprintf(outf, "SLM BCLK: %.1f Mhz\n", freq);
return freq;
}