diff options
author | Stavros Aronis <[email protected]> | 2012-02-20 16:45:54 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-05-21 15:31:19 +0200 |
commit | a6ab15d61cd4b36ba9d4eab7a3d290330b5c3798 (patch) | |
tree | 354012e30d34161e40f0c486ce24673ed64c2bf0 /lib/dialyzer/src/dialyzer_timing.erl | |
parent | 009710cec5e8b9786a5219dc3f682d6010352160 (diff) | |
download | otp-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.erl | 6 |
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. |