diff options
author | Stavros Aronis <[email protected]> | 2012-02-20 13:56:25 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-05-21 15:31:19 +0200 |
commit | 60e682897f98d9374b96c6324759f302170b2a17 (patch) | |
tree | e6ccf2de74f0c77e118a58b40135b194d95d9999 /lib/dialyzer/src/dialyzer_cl.erl | |
parent | c8f8c90f908ae06a3b2114b77447699b7d690496 (diff) | |
download | otp-60e682897f98d9374b96c6324759f302170b2a17.tar.gz otp-60e682897f98d9374b96c6324759f302170b2a17.tar.bz2 otp-60e682897f98d9374b96c6324759f302170b2a17.zip |
Add --time option to Dialyzer
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl.erl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl index 6d3b1f0531..482f428e02 100644 --- a/lib/dialyzer/src/dialyzer_cl.erl +++ b/lib/dialyzer/src/dialyzer_cl.erl @@ -400,8 +400,10 @@ do_analysis(Files, Options, Plt, PltInfo) -> callgraph_file = Options#options.callgraph_file}, State3 = start_analysis(State2, InitAnalysis), {T1, _} = statistics(wall_clock), + ok = dialyzer_timing:init(Options#options.timing), Return = cl_loop(State3), {T2, _} = statistics(wall_clock), + ok = dialyzer_timing:stop(), report_elapsed_time(T1, T2, Options), Return. |