hvr / ThreadScope

Official upstream repo for ThreadScope (issue tracker still using trac)
http://trac.haskell.org/ThreadScope
Other
0 stars 0 forks source link

Print big times using large time units to avoid too long labels #22

Open ghc-mirror opened 10 years ago

ghc-mirror commented 10 years ago

Original reporter: MikolajKonarski

On very large eventlogs, the labels of histogram bars overwrite each other, because the numbers (spark lengths) grow too big. Extend and use the function that prints time in different units to handle large time values with large time units, that is kiloseconds and megaseconds, or perhaps minutes, hours, days, weeks, etc.