[det]profile_data(-Data)summary:Dict- Overall statistics providing
- samples:Count: Times the statistical profiler was called or, if
exactistrue, the number of times execution moved to another node of the call tree. - ticks:Count Nanoseconds sampled during profiling
- accounting:Count Nanoseconds spent on accounting. This is the profiler's own overhead. The exact modes measure it and exclude it from the times of the predicates.
- time:Seconds Total time sampled
- nodes:Count Nodes in the call graph.
- sample_period: MicroSeconds Same interval timer period in micro seconds
- ports: Ports One of
true,falseorclassic - clock: Clock One of
cpuorwall, the time that was profiled. - exact: Bool Whether the data was collected using
exact(true) - allocated: Bytes
- discarded: Bytes
- gc_reclaimed: Bytes Global stack allocated, discarded by backtracking and reclaimed by garbage collection while profiling.
- gc_count: Count Number of garbage collections while profiling.
- samples:Count: Times the statistical profiler was called or, if
- nodes
- List of nodes. Each node provides:
predicate:PredicateIndicator- or a blob that represents another profiled object, such as an XPCE method.
ticks_self:Countticks_siblings:Count- Nanoseconds sampled in the predicate itself and in its callees.
alloc_self:Bytesalloc_siblings:Bytes- Global stack allocated by the predicate itself and by its callees.
discarded_self:Bytesdiscarded_siblings:Bytes- Global stack discarded by backtracking into a choicepoint of the predicate itself and of its callees.
call:Countredo:Countexit:Countcallers:list_of(Relative)callees:list_of(Relative)
Relative is a term of the shape below that represents a caller or callee. Future versions are likely to use a dict instead.
node(PredicateIndicator, CycleID, Ticks, TicksSiblings,
Calls, Redos, Exits, Memory)
Memory is a term mem(Alloc, AllocSiblings, Discarded, DiscardedSiblings),
the global stack in bytes allocated and discarded by these calls, by the
called predicate itself and by its callees, as the ‘alloc_* and discarded_*`
keys of the node.