aboutsummaryrefslogtreecommitdiffstats
path: root/lib/tools/test/instrument_SUITE.erl
diff options
context:
space:
mode:
authorBjörn-Egil Dahlberg <[email protected]>2016-04-06 20:09:47 +0200
committerBjörn-Egil Dahlberg <[email protected]>2016-04-07 12:10:13 +0200
commit6e810f587a35606e1031e4f8e673a62c96015efd (patch)
treeb9c9d9816ccb639a0278d3dfe80d3adaafd30104 /lib/tools/test/instrument_SUITE.erl
parent8ccea1c2c756d8bc548ee6ba3e10f5a583aca7e7 (diff)
downloadotp-6e810f587a35606e1031e4f8e673a62c96015efd.tar.gz
otp-6e810f587a35606e1031e4f8e673a62c96015efd.tar.bz2
otp-6e810f587a35606e1031e4f8e673a62c96015efd.zip
Eliminate erlang:now/0
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,