TrinityCore
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

TimePoint GetApplicationStartTime ()
 
uint32 getMSTime ()
 
uint32 getMSTimeDiff (uint32 oldMSTime, uint32 newMSTime)
 
uint32 getMSTimeDiff (uint32 oldMSTime, TimePoint newTime)
 
uint32 GetMSTimeDiffToNow (uint32 oldMSTime)
 

Function Documentation

◆ GetApplicationStartTime()

TimePoint 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,
TimePoint  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: