diff options
author | Stavros Aronis <[email protected]> | 2012-03-22 10:21:18 +0100 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2012-05-21 15:31:22 +0200 |
commit | 4e1ed3a5666c13d442759e710d9d08280362c0bb (patch) | |
tree | ef5a7f2385abe5b9c56b45a7e275347d07685217 /lib/dialyzer/src/dialyzer_cl.erl | |
parent | 24c2c72cab2c282eb17c8ac97c832106ecaf4ed8 (diff) | |
download | otp-4e1ed3a5666c13d442759e710d9d08280362c0bb.tar.gz otp-4e1ed3a5666c13d442759e710d9d08280362c0bb.tar.bz2 otp-4e1ed3a5666c13d442759e710d9d08280362c0bb.zip |
Relocate start and stop of timing server
Diffstat (limited to 'lib/dialyzer/src/dialyzer_cl.erl')
-rw-r--r-- | lib/dialyzer/src/dialyzer_cl.erl | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/dialyzer/src/dialyzer_cl.erl b/lib/dialyzer/src/dialyzer_cl.erl index 482f428e02..5d253e77fa 100644 --- a/lib/dialyzer/src/dialyzer_cl.erl +++ b/lib/dialyzer/src/dialyzer_cl.erl @@ -394,16 +394,15 @@ do_analysis(Files, Options, Plt, PltInfo) -> defines = Options#options.defines, include_dirs = Options#options.include_dirs, files = Files, - start_from = Options#options.from, + start_from = Options#options.from, + timing = Options#options.timing, plt = Plt, use_contracts = Options#options.use_contracts, 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. |