From 6992261d258f2fc0b25ddf99ebcbf66ae02f5df8 Mon Sep 17 00:00:00 2001
From: Dan Gudmundsson
Date: Wed, 25 Jan 2012 15:44:16 +0100
Subject: emulator: Document and test scheduler_wall_time
---
erts/doc/src/erlang.xml | 26 +++++++++++++++++++++++++-
1 file changed, 25 insertions(+), 1 deletion(-)
(limited to 'erts/doc/src')
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index a603d5c2b8..f2b95678b9 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4,7 +4,7 @@
- 19962011
+ 19962012
Ericsson AB. All Rights Reserved.
@@ -4933,6 +4933,21 @@ true
threads in the Erlang run-time system and may therefore be greater
than the wall-clock time.
+ scheduler_wall_time
+ -
+
Returns
+ [{Scheduler_Id, Scheduler_Worked_Time, Scheduler_Total_Time}], time lapses are since the
+ the system flag scheduler_wall_time
+ was set to true.
+ Returns undefined if the system flag
+ scheduler_wall_time is set to false.
+
+ The list of scheduler information is unsorted and may come in different order
+ between calls. The time unit is undefined and may be changed and should only be used
+ to calculate relative utilization.
+
+
+
wall_clock
-
Returns
@@ -5305,6 +5320,14 @@ true
flags.
+ erlang:system_flag(scheduler_wall_time, Boolean)
+ -
+
Turns on/off scheduler wall time measurements.
+ For more information see,
+ erlang:statistics(scheduler_wall_time).
+
+
+
erlang:system_flag(schedulers_online, SchedulersOnline)
-
Sets the amount of schedulers online. Valid range is
@@ -5316,6 +5339,7 @@ true
erlang:system_info(schedulers_online).
+
erlang:system_flag(trace_control_word, TCW)
-
Sets the value of the node's trace control word to
--
cgit v1.2.3