Borrowed get_* entries are valid only under the affinity-thread
rules documented in starter/stats.h. Prefer
st_stats_get_full or st_stats_dup for snapshots across
threads.
Reads the Virtual memory size entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Virtual memory size entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Resident set size entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Resident set size entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Swap usage entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Swap usage entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Bytes read entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Bytes read entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Bytes written entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Bytes written entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Process priority / nice entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Process priority / nice entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Thread count entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Thread count entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the Involuntary context switches entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the Involuntary context switches entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Reads the CPU usage percentage entry.
Stats object.
Returns: Borrowed STStatsEntry pointer.
Replaces the CPU usage percentage entry and may queue the changed signal.
Stats object.
New entry contents.
Returns: Nothing.
Copies a consistent snapshot of all metrics into caller-provided storage. Any out-parameter may be NULL to skip that field.
Stats object.
Out: borrowed name pointer, or NULL to skip.
Out: virtual size entry, or NULL.
Out: RSS entry, or NULL.
Out: swap entry, or NULL.
Out: I/O read entry, or NULL.
Out: I/O write entry, or NULL.
Out: priority entry, or NULL.
Out: threads entry, or NULL.
Out: context-switch entry, or NULL.
Out: CPU entry, or NULL.
Returns: Nothing.
Replaces name and metric entries in one call. Pass NULL for fields you do not wish to supply.
Stats object.
New label, or NULL.
New virtual size, or NULL.
New RSS, or NULL.
New swap, or NULL.
New I/O read, or NULL.
New I/O write, or NULL.
New priority, or NULL.
New threads, or NULL.
New context switches, or NULL.
New CPU, or NULL.
Returns: Nothing.
Emitted on the notify context when metrics update (coalesced).