aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2016-02-02 16:20:19 +0100
committerRickard Green <[email protected]>2016-02-02 16:20:19 +0100
commit18f0707c218ebdeb6024ecffd7704d3582e0b91c (patch)
treeddae22caf23f7cf4b6559b08ee6436d1f268caee /lib
parent3f33428db9aea0d767295322c4e882a5c6bbf7db (diff)
downloadotp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.tar.gz
otp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.tar.bz2
otp-18f0707c218ebdeb6024ecffd7704d3582e0b91c.zip
Use nano second time unit in tracing
Diffstat (limited to 'lib')
-rw-r--r--lib/kernel/doc/src/seq_trace.xml5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/kernel/doc/src/seq_trace.xml b/lib/kernel/doc/src/seq_trace.xml
index 9f191d488d..f4fcd222ec 100644
--- a/lib/kernel/doc/src/seq_trace.xml
+++ b/lib/kernel/doc/src/seq_trace.xml
@@ -136,7 +136,7 @@ seq_trace:set_token(OldToken), % activate the trace token again
<seealso marker="erts:time_correction#Erlang_Monotonic_Time">Erlang
monotonic time</seealso> and a monotonically increasing
integer. The time-stamp has the same format and value
- as produced by <c>{erlang:monotonic_time(),
+ as produced by <c>{erlang:monotonic_time(nano_seconds),
erlang:unique_integer([monotonic])}</c>.</p>
</item>
<tag><c>set_token(monotonic_timestamp, <anno>Bool</anno>)</c></tag>
@@ -147,7 +147,8 @@ seq_trace:set_token(OldToken), % activate the trace token again
will use
<seealso marker="erts:time_correction#Erlang_Monotonic_Time">Erlang
monotonic time</seealso>. The time-stamp has the same
- format and value as produced by <c>erlang:monotonic_time()</c>.</p>
+ format and value as produced by
+ <c>erlang:monotonic_time(nano_seconds)</c>.</p>
</item>
<p>If multiple timestamp flags are passed, <c>timestamp</c> has
precedence over <c>strict_monotonic_timestamp</c> which