summaryrefslogtreecommitdiffstats
path: root/Kbuild
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2008-12-03 02:32:12 +0100
committerIngo Molnar <mingo@elte.hu>2008-12-03 09:09:42 +0100
commit166d3c7994d79ab3f78f420607283361ff5cce79 (patch)
tree8c37b6de991adaec6cd87c55f9046e3a6593c7f9 /Kbuild
parent11e84acc400921743cc8d488e4a265cd98a655c7 (diff)
downloadblackbird-obmc-linux-166d3c7994d79ab3f78f420607283361ff5cce79.tar.gz
blackbird-obmc-linux-166d3c7994d79ab3f78f420607283361ff5cce79.zip
tracing/function-graph-tracer: improve duration output
Impact: better trace output of duration for long calls The old duration output didn't exceeded 9999.999 us to fit the column and the nanosecs were always 3 numbers. As Ingo suggested, it's better to have the whole microseconds elapsed time and shift the nanosecs precision if needed to fit the maximum 7 numbers. And usec need more number, the case should be rare and important enough to break a bit the column alignment to show it. So, depending of the duration value, we now have these patterns: u.nnn us uu.nnn us uuu.nnn us uuuu.nnn us uuuuu.nn us uuuuuu.n us uuuuuuuu..... us Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud