]> https://gitweb.dealii.org/ - dealii.git/commit
Only show TimerOutput percentages down to 0.1%. 3655/head
authorWolfgang Bangerth <bangerth@colostate.edu>
Sat, 3 Dec 2016 13:57:03 +0000 (06:57 -0700)
committerWolfgang Bangerth <bangerth@colostate.edu>
Sat, 3 Dec 2016 13:57:03 +0000 (06:57 -0700)
commitf6136c618197d8e2493a077cb110095b12962461
treee952620943bc89fa5ee885a7e8844dffff7f3e2b
parent4c107bb418cb787354fcebd7359a26ed316d7b87
Only show TimerOutput percentages down to 0.1%.

Currently, if a TimerOutput section takes a very small fraction of the overall
time, we happily output in the last column that it took 6.5e-4%. This is not
only visually awkward compared to all of the other numbers that are not using
the e-04 notation, but also pretty pointless: nobody cares whether something took
that small a fraction of the overall time, and if they happen to do anyway: the
absolute amount of time is printed in the previous column.

Consequently, show everything that takes less than 0.1% of time as 0%.
doc/news/changes.h
source/base/timer.cc

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.