diff options
author | Rickard Green <[email protected]> | 2016-02-02 16:20:19 +0100 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-02-02 16:20:19 +0100 |
commit | 18f0707c218ebdeb6024ecffd7704d3582e0b91c (patch) | |
tree | ddae22caf23f7cf4b6559b08ee6436d1f268caee /erts/emulator/test/trace_bif_SUITE.erl | |
parent | 3f33428db9aea0d767295322c4e882a5c6bbf7db (diff) | |
download | otp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.tar.gz otp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.tar.bz2 otp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.zip |
Use nano second time unit in tracing
Diffstat (limited to 'erts/emulator/test/trace_bif_SUITE.erl')
-rw-r--r-- | erts/emulator/test/trace_bif_SUITE.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/test/trace_bif_SUITE.erl b/erts/emulator/test/trace_bif_SUITE.erl index 760666d077..96b7dd159f 100644 --- a/erts/emulator/test/trace_bif_SUITE.erl +++ b/erts/emulator/test/trace_bif_SUITE.erl @@ -314,9 +314,9 @@ receive_trace_msg_ts_return_to({trace_ts, Pid, return_to, {M,F,A}}, PrevTs, TsTy make_ts(timestamp) -> erlang:now(); make_ts(monotonic_timestamp) -> - erlang:monotonic_time(); + erlang:monotonic_time(nano_seconds); make_ts(strict_monotonic_timestamp) -> - MT = erlang:monotonic_time(), + MT = erlang:monotonic_time(nano_seconds), UMI = erlang:unique_integer([monotonic]), {MT, UMI}. |