TrinityCore
Loading...
Searching...
No Matches
Timer.h File Reference
#include "Define.h"
#include "Duration.h"
+ Include dependency graph for Timer.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  IntervalTimer
 
struct  TimeTracker
 
struct  PeriodicTimer
 

Functions

std::chrono::steady_clock::time_point GetApplicationStartTime ()
 
uint32 getMSTime ()
 
uint32 getMSTimeDiff (uint32 oldMSTime, uint32 newMSTime)
 
uint32 getMSTimeDiff (uint32 oldMSTime, std::chrono::steady_clock::time_point newTime)
 
uint32 GetMSTimeDiffToNow (uint32 oldMSTime)
 

Function Documentation

◆ GetApplicationStartTime()

std::chrono::steady_clock::time_point GetApplicationStartTime ( )
inline

Definition at line 24 of file Timer.h.

+ Here is the caller graph for this function:

◆ getMSTime()

uint32 getMSTime ( )
inline

Definition at line 33 of file Timer.h.

+ Here is the call graph for this function:

◆ getMSTimeDiff() [1/2]

uint32 getMSTimeDiff ( uint32  oldMSTime,
std::chrono::steady_clock::time_point  newTime 
)
inline

Definition at line 49 of file Timer.h.

+ Here is the call graph for this function:

◆ getMSTimeDiff() [2/2]

uint32 getMSTimeDiff ( uint32  oldMSTime,
uint32  newMSTime 
)
inline

Definition at line 40 of file Timer.h.

+ Here is the caller graph for this function:

◆ GetMSTimeDiffToNow()

uint32 GetMSTimeDiffToNow ( uint32  oldMSTime)
inline

Definition at line 57 of file Timer.h.

+ Here is the call graph for this function: