]> git.itanic.dy.fi Git - scan-pagemap/commit
Analyzer: Drop PRETTY_THRESH value to 98
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 21 Aug 2010 07:18:24 +0000 (10:18 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sat, 21 Aug 2010 07:18:24 +0000 (10:18 +0300)
commitedbeb918e6571b325e101a420dce860054260e4b
tree182c232c681b6820a2376ad4af64d39753b31e0f
parent8485f76a2b3640aa24f60930bba1e4fe904ae068
Analyzer: Drop PRETTY_THRESH value to 98

We have reserved five digits for the byte sizes in the print
output. However, if the size of a process happens to be for example
101272kB, the size is still below the 100 * 1024 = 102400 kB
threshold, which has in fact six digits.

Lowering the threshold to 98 will ensure the pretty output is never
more than five digits.

Signed-off-by: Timo Kokkonen <kaapeli@itanic.dy.fi>
analyze.c