aboutsummaryrefslogtreecommitdiffstats
path: root/lib/percept/test
diff options
context:
space:
mode:
Diffstat (limited to 'lib/percept/test')
-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())),