From 65a4a2315ca3733070fef22f918a1cd532db20ad Mon Sep 17 00:00:00 2001 From: Tobias Pfeiffer Date: Sun, 8 Apr 2018 17:02:27 +0200 Subject: Reflect actual timer:tc behaviour in documentation It was switched to monotnic_time from timestamp 3 years ago in d927209aa36fe370eb4ecf0a081923b0b951458b --- lib/stdlib/doc/src/timer.xml | 4 ++-- 1 file 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 @@

Evaluates apply(Module, Function, Arguments) and measures the elapsed real time as - reported by - os:timestamp/0.

+ reported by + erlang:monotonic_time/0.

Returns {Time, Value}, where Time is the elapsed real time in microseconds, and Value is what is -- cgit v1.2.3