aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib
diff options
context:
space:
mode:
authorTobias Pfeiffer <[email protected]>2018-04-08 17:02:27 +0200
committerTobias Pfeiffer <[email protected]>2018-04-08 17:02:27 +0200
commit65a4a2315ca3733070fef22f918a1cd532db20ad (patch)
treecc50d8a7a971f14b64c4712d94f794ff17694bb8 /lib/stdlib
parent249da1f79a877e3c79b661a9e520ea8910d14726 (diff)
downloadotp-65a4a2315ca3733070fef22f918a1cd532db20ad.tar.gz
otp-65a4a2315ca3733070fef22f918a1cd532db20ad.tar.bz2
otp-65a4a2315ca3733070fef22f918a1cd532db20ad.zip
Reflect actual timer:tc behaviour in documentation
It was switched to monotnic_time from timestamp 3 years ago in d927209aa36fe370eb4ecf0a081923b0b951458b
Diffstat (limited to 'lib/stdlib')
-rw-r--r--lib/stdlib/doc/src/timer.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stdlib/doc/src/timer.xml b/lib/stdlib/doc/src/timer.xml
index 350847bf7d..8e828f8f56 100644
--- a/lib/stdlib/doc/src/timer.xml
+++ b/lib/stdlib/doc/src/timer.xml
@@ -270,8 +270,8 @@
<item>
<p>Evaluates <c>apply(<anno>Module</anno>, <anno>Function</anno>,
<anno>Arguments</anno>)</c> and measures the elapsed real time as
- reported by <seealso marker="kernel:os#timestamp/0">
- <c>os:timestamp/0</c></seealso>.</p>
+ reported by <seealso marker="erlang#monotonic_time/0">
+ <c>erlang:monotonic_time/0</c></seealso>.</p>
<p>Returns <c>{<anno>Time</anno>, <anno>Value</anno>}</c>, where
<c><anno>Time</anno></c> is the elapsed real time in
<em>microseconds</em>, and <c><anno>Value</anno></c> is what is