Next: STStatsCollector: The Abstract Engine, Up: System Statistics: Performance Monitoring [Contents]
One metric’s running window:
minLowest sample seen (double).
maxHighest sample seen (double).
lastMost recent sample (double).
Initializes an entry to a neutral empty state.
Entry to initialize.
Returns: Nothing.
Folds a new sample into min/max/last.
Entry to update.
New sample.
Returns: Nothing.
Creates a stats object for a named service/process.
Service or process label stored with the metrics.
Returns: New STStats.
Deep-copies all metrics into a new object.
Source stats.
Returns: Newly allocated STStats.
Affinity for the coalesced changed signal.
Stats object.
Affinity context, or NULL for default.
Returns: Nothing.
Reads the label.
Stats object.
Returns: Borrowed name (affinity-thread assumptions apply).
Thread-safe copy of the label.
Stats object.
Returns: Newly allocated name (transfer full).
Updates the label.
Stats object.
New name.
Returns: Nothing.