aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dialyzer/src/dialyzer_cl.erl
diff options
context:
space:
mode:
authorStavros Aronis <[email protected]>2012-03-22 10:21:18 +0100
committerHenrik Nord <[email protected]>2012-05-21 15:31:22 +0200
commit4e1ed3a5666c13d442759e710d9d08280362c0bb (patch)
treeef5a7f2385abe5b9c56b45a7e275347d07685217 /lib/dialyzer/src/dialyzer_cl.erl
parent24c2c72cab2c282eb17c8ac97c832106ecaf4ed8 (diff)
downloadotp-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.erl5
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.