TrinityCore
Loading...
Searching...
No Matches
MetricStopWatchBase Struct Reference

#include <Metric.h>

+ Inheritance diagram for MetricStopWatchBase:

Public Member Functions

void Enable (Metric *metric) noexcept
 

Public Attributes

Metric * MetricInstance = nullptr
 
TimePoint StartTime = { }
 

Detailed Description

Definition at line 162 of file Metric.h.

Member Function Documentation

◆ Enable()

void MetricStopWatchBase::Enable ( Metric *  metric)
inlinenoexcept

Definition at line 164 of file Metric.h.

References MetricInstance, and StartTime.

Member Data Documentation

◆ MetricInstance

Metric* MetricStopWatchBase::MetricInstance = nullptr

Definition at line 170 of file Metric.h.

Referenced by Enable(), and MetricStopWatch< LoggerType >::~MetricStopWatch().

◆ StartTime

TimePoint MetricStopWatchBase::StartTime = { }

Definition at line 171 of file Metric.h.

Referenced by Enable(), and MetricStopWatch< LoggerType >::~MetricStopWatch().


The documentation for this struct was generated from the following file: