gwnavruntime/basesystem/iperfmarkerinterface.h Source File
Go to the documentation of this file.
32 virtual void Begin(
const char* name) = 0;
35 virtual void End() = 0;
43 instance->Begin(name);
65 #if defined(KY_PERF_MARKERS_ENABLED)
68 #define KY_PERF_MARKER_BEGIN(name) Kaim::IPerfMarkerInterface::BeginMarker(name);
71 #define KY_PERF_MARKER_END() Kaim::IPerfMarkerInterface::EndMarker();
74 #define KY_SCOPED_PERF_MARKER(name) Kaim::ScopedPerfMarker scopedPerfMarker__(name);
77 #define KY_PERF_MARKER_BEGIN(name)
78 #define KY_PERF_MARKER_END()
79 #define KY_SCOPED_PERF_MARKER(name)
static IPerfMarkerInterface *& Instance()
Returns a reference to the singleton pointer. This function called in BaseSystem::Init() with the var...
Definition: iperfmarkerinterface.h:22
static void BeginMarker(const char *name)
calls Instance()->Begin(name);
Definition: iperfmarkerinterface.h:39
The Autodesk Navigation namespace.
Definition: gamekitcrowddispersion.cpp:17
static void EndMarker()
calls Instance()->End(name);
Definition: iperfmarkerinterface.h:47
virtual void End()=0
End the current marker.
calls IPerfMarkerInterface::BeginMarker(name) in constructor, IPerfMarkerInterface::EndMarker() in de...
Definition: iperfmarkerinterface.h:56
virtual void Begin(const char *name)=0
Begin a new marker.
An abstract interface for performance tracking markers.
Definition: iperfmarkerinterface.h:18