aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/instrument_SUITE.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tools/test/instrument_SUITE.erl')
-rw-r--r--lib/tools/test/instrument_SUITE.erl5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/tools/test/instrument_SUITE.erl b/lib/tools/test/instrument_SUITE.erl
index b4ace283d6..619ef9597d 100644
--- a/lib/tools/test/instrument_SUITE.erl
+++ b/lib/tools/test/instrument_SUITE.erl
@@ -106,9 +106,8 @@ all() ->
ok.
start_slave(Args) ->
- {A, B, C} = now(),
- MicroSecs = A*1000000000000 + B*1000000 + C,
- Name = "instr_" ++ integer_to_list(MicroSecs),
+ MicroSecs = erlang:monotonic_time(),
+ Name = "instr" ++ integer_to_list(MicroSecs),
Pa = filename:dirname(code:which(?MODULE)),
{ok, Node} = ?t:start_node(list_to_atom(Name),
slave,