nl::Weave::Stats

Summary

Variables

sMessageLayer

Functions

SetObjects(WeaveMessageLayer *aMessageLayer)
void
Registers Weave objects with the stats infra.
UpdateSnapshot(nl::Weave::System::Stats::Snapshot & aSnapshot)
void
Updates a Snapshot instance with the current state of the system resources.

Variables

sMessageLayer

WeaveMessageLayer * sMessageLayer

Functions

SetObjects

void SetObjects(
  WeaveMessageLayer *aMessageLayer
)

Registers Weave objects with the stats infra.

Collecting some of the statistics requires access to a specific Weave object instance owned by the application.

Details
Parameters
[in] aMessageLayer
Pointer to the MessageLayer object from which stats are to be collected.

UpdateSnapshot

void UpdateSnapshot(
  nl::Weave::System::Stats::Snapshot & aSnapshot
)

Updates a Snapshot instance with the current state of the system resources.

Details
Parameters
[in] aSnapshot
The Snapshot to be updated.