Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
TimeGuard.h File Reference
#include "Containers/Map.h"
#include "CoreGlobals.h"
#include "CoreTypes.h"
#include "Delegates/Delegate.h"
#include "HAL/PlatformTime.h"
#include "Misc/Build.h"
#include "Misc/DateTime.h"
+ Include dependency graph for TimeGuard.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define DO_TIMEGUARD   0
 
#define DO_LIGHTWEIGHT_TIMEGUARD   ( WITH_ENGINE && !UE_SERVER && !NO_LOGGING && !WITH_EDITOR )
 
#define SCOPE_TIME_GUARD(name)
 
#define SCOPE_TIME_GUARD_MS(name, timeMs)
 
#define SCOPE_TIME_GUARD_NAMED(name, fname)
 
#define SCOPE_TIME_GUARD_NAMED_MS(name, fname, timeMs)
 
#define CLEAR_TIME_GUARDS()
 
#define ENABLE_TIME_GUARDS(bEnabled)
 
#define LIGHTWEIGHT_TIME_GUARD_BEGIN(Name, ThresholdMS)
 
#define LIGHTWEIGHT_TIME_GUARD_END(Name, NameStringCode)
 

Macro Definition Documentation

◆ CLEAR_TIME_GUARDS

#define CLEAR_TIME_GUARDS ( )

Definition at line 170 of file TimeGuard.h.

◆ DO_LIGHTWEIGHT_TIMEGUARD

#define DO_LIGHTWEIGHT_TIMEGUARD   ( WITH_ENGINE && !UE_SERVER && !NO_LOGGING && !WITH_EDITOR )

Definition at line 20 of file TimeGuard.h.

◆ DO_TIMEGUARD

#define DO_TIMEGUARD   0

Definition at line 15 of file TimeGuard.h.

◆ ENABLE_TIME_GUARDS

#define ENABLE_TIME_GUARDS ( bEnabled)

Definition at line 171 of file TimeGuard.h.

◆ LIGHTWEIGHT_TIME_GUARD_BEGIN

#define LIGHTWEIGHT_TIME_GUARD_BEGIN ( Name,
ThresholdMS )

Definition at line 194 of file TimeGuard.h.

◆ LIGHTWEIGHT_TIME_GUARD_END

#define LIGHTWEIGHT_TIME_GUARD_END ( Name,
NameStringCode )

Definition at line 195 of file TimeGuard.h.

◆ SCOPE_TIME_GUARD

#define SCOPE_TIME_GUARD ( name)

Definition at line 166 of file TimeGuard.h.

◆ SCOPE_TIME_GUARD_MS

#define SCOPE_TIME_GUARD_MS ( name,
timeMs )

Definition at line 167 of file TimeGuard.h.

◆ SCOPE_TIME_GUARD_NAMED

#define SCOPE_TIME_GUARD_NAMED ( name,
fname )

Definition at line 168 of file TimeGuard.h.

◆ SCOPE_TIME_GUARD_NAMED_MS

#define SCOPE_TIME_GUARD_NAMED_MS ( name,
fname,
timeMs )

Definition at line 169 of file TimeGuard.h.