From 5e57b3faccba1ae66ebd40fed23f5770eee71b04 Mon Sep 17 00:00:00 2001 From: Rickard Green Date: Wed, 24 Aug 2016 15:57:53 +0200 Subject: Replace usage of deprecated time units --- lib/percept/test/percept_SUITE.erl | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/percept/test/percept_SUITE.erl') diff --git a/lib/percept/test/percept_SUITE.erl b/lib/percept/test/percept_SUITE.erl index fbc77302ae..2be8b70e0d 100644 --- a/lib/percept/test/percept_SUITE.erl +++ b/lib/percept/test/percept_SUITE.erl @@ -79,9 +79,9 @@ analyze(Config) when is_list(Config) -> Begin = processes(), Path = proplists:get_value(data_dir, Config), File = filename:join([Path,"profile_test.dat"]), - T0 = erlang:monotonic_time(milli_seconds), + T0 = erlang:monotonic_time(millisecond), ok = percept:analyze(File), - T1 = erlang:monotonic_time(milli_seconds), + T1 = erlang:monotonic_time(millisecond), io:format("percept:analyze/1 took ~w ms.~n", [T1 - T0]), {stopped, _} = percept_db:stop(), print_remainers(remainers(Begin, processes())), @@ -92,9 +92,9 @@ analyze_dist(Config) when is_list(Config) -> Begin = processes(), Path = proplists:get_value(data_dir, Config), File = filename:join([Path,"ipc-dist.dat"]), - T0 = erlang:monotonic_time(milli_seconds), + T0 = erlang:monotonic_time(millisecond), ok = percept:analyze(File), - T1 = erlang:monotonic_time(milli_seconds), + T1 = erlang:monotonic_time(millisecond), io:format("percept:analyze/1 took ~w ms.~n", [T1 - T0]), {stopped, _} = percept_db:stop(), print_remainers(remainers(Begin, processes())), -- cgit v1.2.3