From 561a504deaf0c8ebfc0b769b614561151369ed03 Mon Sep 17 00:00:00 2001 From: Hans Bolinder Date: Fri, 27 Oct 2017 12:48:04 +0200 Subject: erts: Improve some links in erlang(3) Use the "anchor" attribute to improve placement of anchors in conjunction with the "clause_i" attribute. --- erts/doc/src/erlang.xml | 128 +++++++++++++++++++++++++++--------------------- 1 file changed, 72 insertions(+), 56 deletions(-) (limited to 'erts/doc/src/erlang.xml') diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml index d0588fe3c1..da02a8592e 100644 --- a/erts/doc/src/erlang.xml +++ b/erts/doc/src/erlang.xml @@ -4730,11 +4730,11 @@ RealSystem = system + MissedSystem - + Set process flag min_heap_size for the calling process. -

Changes the minimum heap size for the calling process.

Returns the old value of the flag.

@@ -4752,12 +4752,12 @@ RealSystem = system + MissedSystem
- + Set process flag max_heap_size for the calling process. -

This flag sets the maximum heap size for the calling process. If MaxHeapSize is an integer, the system default values for kill and error_logger are used. @@ -4826,12 +4826,12 @@ RealSystem = system + MissedSystem - + Set process flag message_queue_data for the calling process. -

This flag determines how messages in the message queue are stored, as follows:

@@ -4868,11 +4868,12 @@ RealSystem = system + MissedSystem
- + Set process flag priority for the calling process. -

+

Sets the process priority. Level is an atom. Four priority levels exist: low, normal, high, and max. Default @@ -6347,10 +6348,10 @@ true - + Information about active processes and ports. -

Returns the same as statistics(active_tasks_all) @@ -6362,10 +6363,10 @@ true - + Information about active processes and ports. -

Returns a list where each element represents the amount of active processes and ports on each run queue and its associated schedulers. That is, the number of processes and @@ -6413,10 +6414,10 @@ true - + Information about exact reductions. -

Returns the number of exact reductions.

statistics(exact_reductions) is @@ -6451,10 +6452,10 @@ true - + Information about microstate accounting. -

Microstate accounting can be used to measure how much time the Erlang runtime system spends doing various tasks. It is designed to be as lightweight as possible, but some overhead exists when this @@ -6594,10 +6595,10 @@ lists:map( - + Information about reductions. -

Returns information about reductions, for example:

 > statistics(reductions).
@@ -6613,9 +6614,10 @@ lists:map(
     
 
     
-      
+      
       Information about the run-queues.
-      
+      
         

Returns the total length of all normal run-queues. That is, the number of processes and ports that are ready to run on all available normal run-queues. Dirty run queues are not part of the @@ -6629,9 +6631,10 @@ lists:map( - + Information about the run-queue lengths. - +

Returns the same as statistics(run_queue_lengths_all) @@ -6643,9 +6646,10 @@ lists:map( - + Information about the run-queue lengths. - +

Returns a list where each element represents the amount of processes and ports ready to run for each run queue. Values for normal run queues are located first in the @@ -6703,10 +6707,10 @@ lists:map( - + Information about each schedulers work time. -

Returns a list of tuples with {SchedulerId, ActiveTime, TotalTime}, where @@ -6824,10 +6828,10 @@ ok - + Information about each schedulers work time. -

The same as statistics(scheduler_wall_time), except that it also include information about all dirty I/O @@ -6849,9 +6853,10 @@ ok - + Information about active processes and ports. - +

The same as calling lists:sum(statistics(active_tasks)), but more efficient.

@@ -6859,9 +6864,10 @@ ok
- + Information about active processes and ports. - +

The same as calling lists:sum(statistics(active_tasks_all)), but more efficient.

@@ -6869,9 +6875,10 @@ ok
- + Information about the run-queue lengths. - +

The same as calling lists:sum(statistics(run_queue_lengths)), but more efficient.

@@ -6879,9 +6886,10 @@ ok
- + Information about the run-queue lengths. - +

The same as calling lists:sum(statistics(run_queue_lengths_all)), but more efficient.

@@ -7029,7 +7037,8 @@ ok
- + Set system flag cpu_topology. @@ -7038,7 +7047,7 @@ ok -

+

This argument is deprecated. Instead of using this argument, use command-line argument +sct in @@ -7076,10 +7085,11 @@ ok - + Set system_flag_dirty_cpu_schedulers_online. -

+

Sets the number of dirty CPU schedulers online. Range is , where N is the smallest of the return values of @@ -7123,10 +7133,11 @@ ok - + Set system flag microstate_accounting. -

+

Turns on/off microstate accounting measurements. When passing reset, all counters are reset to 0.

For more information see @@ -7168,11 +7179,11 @@ ok - + Set system flag max_heap_size. -

Sets the default maximum heap size settings for processes. The size is specified in words. The new max_heap_size @@ -7186,10 +7197,11 @@ ok - + Set system flag multi_scheduling. -

+

If multi-scheduling is enabled, more than one scheduler thread is used by the emulator. Multi-scheduling can be blocked in two different ways. Either all schedulers but @@ -7241,12 +7253,13 @@ ok - + Set system flag scheduler_bind_type. -

+

This argument is deprecated. Instead of using this argument, use command-line argument +sbt in @@ -7367,10 +7380,11 @@ ok - + Set system flag scheduler_wall_time. -

+

Turns on or off scheduler wall time measurements.

For more information, see @@ -7379,10 +7393,11 @@ ok - + Set system flag schedulers_online. -

+

Sets the number of schedulers online. Range is .

@@ -7421,10 +7436,11 @@ ok
- + Finalize the time offset. -

+

Finalizes the time offset when single time warp mode is used. If another time warp mode @@ -7597,7 +7613,8 @@ ok - + Information about the CPU topology of the system. @@ -7625,7 +7642,6 @@ ok -

Returns various information about the CPU topology of the current system (emulator) as specified by Item:

-- cgit v1.2.3