]> git.itanic.dy.fi Git - scan-pagemap/commit
analyzer: Remodify the pretty prints
authorTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 4 Jul 2010 13:26:56 +0000 (16:26 +0300)
committerTimo Kokkonen <kaapeli@itanic.dy.fi>
Sun, 4 Jul 2010 13:26:56 +0000 (16:26 +0300)
commitce0f246111c638857823eaa8a7fa0c1531b34403
treed9e2a091140ce7a5415764c5e18d7f1af4d6a0d2
parent963992e6a0d891870aa38546f87b76b77da17c57
analyzer: Remodify the pretty prints

Now there is an adjustable limit when prettifying prints takes
effect. When the number goes above the threshold, the number is
divided to look prettier.

After this change, there is still enough accuracy in the numbers to
keep them meaningful even though they are shrunk dramatically.

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