Copyright © 2022, Fred Youhanaie
Authors: Fred Youhanaie (fyrlang@anydata.co.uk).
espace_op() = in | rd | inp | rdp | out | eval
counts/0 | Return the current counts for the unnamed instance as a map. |
counts/1 | Return the current counts for a named instance as a map. |
incr/1 | Increment a single espace op counter for the unnamed instance. |
incr/2 | Increment a single espace op counter for a named instance. |
new/0 | Create a new ops counter array for the unnamed instance. |
new/1 | Create a new ops counter array for a named instance. |
reset/0 | Reset all the op counters of the unnamed instance. |
reset/1 | Reset all the op counters of a named instance. |
counts() -> #{espace_op() => integer()}
Return the current counts for the unnamed instance as a map.
See counts/1 for details.counts(Inst_name::atom()) -> #{espace_op() => integer()}
Return the current counts for a named instance as a map.
incr(Op::espace_op()) -> ok
Increment a single espace op counter for the unnamed instance.
See incr/1 for details.incr(Inst_name::atom(), Op::espace_op()) -> ok
Increment a single espace op counter for a named instance.
In the interested of keeping the code simple, the counter index of each op corresponds to the position ofOp
in the record tuple,
which ranges from 2 to 7.
new() -> ok
Create a new ops counter array for the unnamed instance.
See new/1 for details.new(Inst_name::atom()) -> ok
Create a new ops counter array for a named instance.
The array will have one counter per espace operation. The counters ref is saved in as a persistent term.reset() -> ok
Reset all the op counters of the unnamed instance.
Seereset/1
for details.
reset(Inst_name::atom()) -> ok
Reset all the op counters of a named instance.
This function has been provided for investigating an application.Generated by EDoc