File 0205-Reflect-actual-timer-tc-behaviour-in-documentation.patch of Package erlang
From 65a4a2315ca3733070fef22f918a1cd532db20ad Mon Sep 17 00:00:00 2001
From: Tobias Pfeiffer <pragtob@gmail.com>
Date: Sun, 8 Apr 2018 17:02:27 +0200
Subject: [PATCH] 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
@@ -190,7 +190,7 @@
<tag><c>tc/3</c></tag>
<item>
<p>Evaluates <c>apply(<anno>Module</anno>, <anno>Function</anno>, <anno>Arguments</anno>)</c> and measures
- the elapsed real time as reported by <c>os:timestamp/0</c>.
+ the elapsed real time as reported by <c>erlang:monotonic_time/0</c>.
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 returned from the apply.</p>
--
2.16.3