Commit 52f1cb8 1 parent 303934f commit 52f1cb8 Copy full SHA for 52f1cb8
File tree 1 file changed +1
-4
lines changed
1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -82,9 +82,6 @@ class EmitMk final {
82
82
// Debug logging: prints scores histogram
83
83
static void debugLogScoreHistogram (const std::vector<std::int64_t >& sortedScores) {
84
84
constexpr int LOG_LEVEL = 6 ;
85
-
86
- if (debug () < LOG_LEVEL) return ;
87
-
88
85
constexpr int MAX_BAR_LENGTH = 80 ;
89
86
constexpr int MAX_INTERVALS_NUM = 60 ;
90
87
@@ -312,7 +309,7 @@ class EmitMk final {
312
309
[](const FilenameWithScore& inputFile) { return inputFile.m_score ; });
313
310
std::sort (sortedScores.begin (), sortedScores.end ());
314
311
315
- debugLogScoreHistogram (sortedScores);
312
+ if ( debug () >= 6 ) debugLogScoreHistogram (sortedScores);
316
313
317
314
// Input files with a score exceeding this value are excluded from concatenation.
318
315
const std::int64_t concatenableFileMaxScore = totalScore / totalBucketsNum / 2 ;
You can’t perform that action at this time.
0 commit comments