aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/test/percept_SUITE.erl
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-08-24 15:57:53 +0200
committerRickard Green <[email protected]>2016-08-25 17:37:44 +0200
commit5e57b3faccba1ae66ebd40fed23f5770eee71b04 (patch)
treeb7eb1632247fa179bd852177f4c02980d5571a6a /lib/percept/test/percept_SUITE.erl
parentfc85e401ee279cc3b69635a71ffa93544ce5b99d (diff)
downloadotp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.gz
otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.tar.bz2
otp-5e57b3faccba1ae66ebd40fed23f5770eee71b04.zip
Replace usage of deprecated time units
Diffstat (limited to 'lib/percept/test/percept_SUITE.erl')
-rw-r--r--lib/percept/test/percept_SUITE.erl8
1 files changed, 4 insertions, 4 deletions
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())),