template<typename T>
vt::runtime::component::meter::Gauge struct

Diagnostic that records some value over time.

Base classes

template<typename T>
struct DiagnosticStatsPack<T>
Pack of statistic-based diagnostics intended to back diagnostic types where basic statistics should be applied.

Constructors, destructors, conversion operators

Gauge() defaulted
Default constructor available for ease of putting this type in a class. But, all valid ways to construction involve the factory methods in the Diagnostic base class for component.

Public functions

void update(] T val)
Update with a new value.
template<typename SerializerT>
void serialize(SerializerT& s)

Function documentation

template<typename T>
void vt::runtime::component::meter::Gauge<T>::update(] T val)

Update with a new value.

Parameters
val in the new value