aboutsummaryrefslogtreecommitdiffstats
path: root/erts/doc/src/erlang.xml
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2012-02-07 19:51:24 +0100
committerPatrik Nyblom <[email protected]>2012-02-07 19:51:24 +0100
commitd0394af6541d99bd72192d35fc4986016c3a6589 (patch)
tree8251b6147db0ea64f90b25b941d951c58bb150a2 /erts/doc/src/erlang.xml
parente9e34e8bd838ef99ed3bd0e88ff490614cbe78a1 (diff)
parent6004ec3e1785913ff0b74054cf614a35c180d54a (diff)
downloadotp-d0394af6541d99bd72192d35fc4986016c3a6589.tar.gz
otp-d0394af6541d99bd72192d35fc4986016c3a6589.tar.bz2
otp-d0394af6541d99bd72192d35fc4986016c3a6589.zip
Merge branch 'maint'
Conflicts: erts/doc/src/erlang.xml erts/preloaded/ebin/erlang.beam
Diffstat (limited to 'erts/doc/src/erlang.xml')
-rw-r--r--erts/doc/src/erlang.xml31
1 files changed, 30 insertions, 1 deletions
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index c25e05c6a0..4672c91a8f 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -4406,6 +4406,25 @@ true</pre>
</func>
<func>
<name name="statistics" arity="1" clause_i="8"/>
+ <fsummary>Information about each schedulers work time</fsummary>
+ <desc>
+ <p><marker id="statistics_scheduler_wall_time"></marker>
+ Returns time lapsed (<c><anno>Scheduler_Total_Time</anno></c>) and time spent working
+ (<c><anno>Scheduler_Worked_Time</anno></c>) for each scheduler since
+ the system flag <seealso marker="#system_flag_scheduler_wall_time"><c>scheduler_wall_time</c></seealso>
+ was set to <c>true</c>.</p>
+ <p>
+ Returns <c>undefined</c> if the system flag <seealso marker="#system_flag_scheduler_wall_time">
+ <c>scheduler_wall_time</c></seealso> is set to <c>false</c>.
+ </p>
+ <p>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.
+ </p>
+ </desc>
+ </func>
+ <func>
+ <name name="statistics" arity="1" clause_i="9"/>
<fsummary>Information about wall-clock</fsummary>
<desc>
<p><c>wall_clock</c> can be used in the same manner as
@@ -4783,6 +4802,16 @@ true</pre>
</func>
<func>
<name name="system_flag" arity="2" clause_i="8"/>
+ <fsummary>Set system flag scheduler_wall_time</fsummary>
+ <desc><p><marker id="system_flag_scheduler_wall_time"></marker>
+ Turns on/off scheduler wall time measurements. </p>
+ <p>For more information see,
+ <seealso marker="#statistics_scheduler_wall_time">erlang:statistics(scheduler_wall_time)</seealso>.
+ </p>
+ </desc>
+ </func>
+ <func>
+ <name name="system_flag" arity="2" clause_i="9"/>
<fsummary>Set system flag schedulers_online</fsummary>
<desc>
<p><marker id="system_flag_schedulers_online"></marker>
@@ -4798,7 +4827,7 @@ true</pre>
</desc>
</func>
<func>
- <name name="system_flag" arity="2" clause_i="9"/>
+ <name name="system_flag" arity="2" clause_i="10"/>
<fsummary>Set system flag trace_control_word</fsummary>
<desc>
<p>Sets the value of the node's trace control word to