template<typename T>
Timer struct
Diagnostic that times some operation 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
- Timer() 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
Function documentation
template<typename T>
void vt:: runtime:: component:: meter:: Timer<T>:: update(] T begin,
] T end)
Add a new timer range to the timer diagnostic.
Parameters | |
---|---|
begin in | begin time of event being tracked |
end in | end time of event being tracked |