aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_timing.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-02-20 16:45:54 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:19 +0200
commita6ab15d61cd4b36ba9d4eab7a3d290330b5c3798 (patch)
tree354012e30d34161e40f0c486ce24673ed64c2bf0 /lib/dialyzer/src/dialyzer_timing.erl
parent009710cec5e8b9786a5219dc3f682d6010352160 (diff)
downloadotp-a6ab15d61cd4b36ba9d4eab7a3d290330b5c3798.tar.gz
otp-a6ab15d61cd4b36ba9d4eab7a3d290330b5c3798.tar.bz2
otp-a6ab15d61cd4b36ba9d4eab7a3d290330b5c3798.zip
Add better timing labels
Diffstat (limited to 'lib/dialyzer/src/dialyzer_timing.erl')
-rw-r--r--lib/dialyzer/src/dialyzer_timing.erl6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/dialyzer/src/dialyzer_timing.erl b/lib/dialyzer/src/dialyzer_timing.erl
index 73dbbf5a34..368c1715ce 100644
--- a/lib/dialyzer/src/dialyzer_timing.erl
+++ b/lib/dialyzer/src/dialyzer_timing.erl
@@ -56,13 +56,13 @@ dummy_loop() ->
loop(LastNow) ->
receive
{stamp, Msg, Now} ->
- io:format("~s\t(+~6.2fs): ", [Msg, diff(Now, LastNow)]),
+ io:format(" ~-10s (+~4.2fs):", [Msg, diff(Now, LastNow)]),
loop(Now);
{stamp, Now} ->
- io:format("~6.2fs\n", [diff(Now, LastNow)]),
+ io:format("~7.2fs\n", [diff(Now, LastNow)]),
loop(Now);
{Pid, stop, Now} ->
- io:format("\t(+~6.2fs)\n", [diff(Now, LastNow)]),
+ io:format(" ~-10s (+~4.2fs)\n", ["",diff(Now, LastNow)]),
Pid ! ok
end.