Skip to content

Commit e7af77e

Browse files
Nikratiorwmjones
authored andcommitted
Remove trailing whitespace.
(cherry picked from commit 1c7970f)
1 parent 1435d01 commit e7af77e

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

filters/stats/stats.cpp

+5-5
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ inc_blksize_ctr (blksize_hist_t &hist, size_t blksize, size_t offset)
218218

219219
static void
220220
print_align_hist(const std::unordered_map<int, size_t>& align_map)
221-
{
221+
{
222222
/* Convert to ordered map (convenient, since we need to mutate counts),
223223
* find requests for offset zero (any alignment), and calculate total. */
224224
std::map<int, size_t> align_hist;
@@ -244,10 +244,10 @@ print_align_hist(const std::unordered_map<int, size_t>& align_map)
244244
auto it = align_hist.find(bits);
245245
if (it != align_hist.end())
246246
it->second += requests;
247-
}
247+
}
248248
el.second += any_align_count;
249249
}
250-
250+
251251
/* The smallest alignment must have the largest number of requests, so we
252252
* can iterate in map-order, skipping over bits for which the number of
253253
* requests does not change */
@@ -264,9 +264,9 @@ print_align_hist(const std::unordered_map<int, size_t>& align_map)
264264
}
265265

266266
// Only print if number of requests differs from the next alignment
267-
it++;
267+
it++;
268268
if (it == align_hist.end() || it->second != requests) {
269-
fprintf (fp, " %2d bit aligned: %5.1f%% (%zu)\n",
269+
fprintf (fp, " %2d bit aligned: %5.1f%% (%zu)\n",
270270
bits, static_cast<double>(requests*100) / total, requests);
271271
}
272272
}

0 commit comments

Comments
 (0)