43#ifndef _orxPROFILER_H_
44#define _orxPROFILER_H_
60 #define orxPROFILER_PUSH_MARKER(NAME) \
63 static orxS32 s32ProfilerID = orxPROFILER_KS32_MARKER_ID_NONE; \
65 if(orxProfiler_IsMarkerIDValid(s32ProfilerID) == orxFALSE) \
67 s32ProfilerID = orxProfiler_GetIDFromName(NAME); \
70 orxProfiler_PushMarker(s32ProfilerID); \
74 #define orxPROFILER_POP_MARKER() \
77 orxProfiler_PopMarker(); \
80 #define orxPROFILER_KU32_HISTORY_LENGTH (3 * 60)
84 #define orxPROFILER_PUSH_MARKER(NAME)
86 #define orxPROFILER_POP_MARKER()
88 #define orxPROFILER_KU32_HISTORY_LENGTH 2
95#define orxPROFILER_KS32_MARKER_ID_NONE -1
orxDLLAPI orxDOUBLE orxFASTCALL orxProfiler_GetMarkerTime(orxS32 _s32MarkerID)
orxDLLAPI orxBOOL orxFASTCALL orxProfiler_IsUniqueMarker(orxS32 _s32MarkerID)
orxDLLAPI orxDOUBLE orxFASTCALL orxProfiler_GetResetTime()
orxDLLAPI orxBOOL orxFASTCALL orxProfiler_IsMarkerIDValid(orxS32 _s32MarkerID)
orxDLLAPI orxU32 orxFASTCALL orxProfiler_GetUniqueMarkerDepth(orxS32 _s32MarkerID)
orxDLLAPI orxS32 orxFASTCALL orxProfiler_GetNextSortedMarkerID(orxS32 _s32MarkerID)
orxDLLAPI void orxFASTCALL orxProfiler_ResetAllMarkers()
orxDLLAPI orxDOUBLE orxFASTCALL orxProfiler_GetMarkerMaxTime(orxS32 _s32MarkerID)
orxDLLAPI orxU32 orxFASTCALL orxProfiler_GetMarkerPushCount(orxS32 _s32MarkerID)
orxDLLAPI void orxFASTCALL orxProfiler_EnableMarkerOperations(orxBOOL _bEnable)
orxDLLAPI const orxSTRING orxFASTCALL orxProfiler_GetMarkerName(orxS32 _s32MarkerID)
orxDLLAPI void orxFASTCALL orxProfiler_Setup()
orxDLLAPI void orxFASTCALL orxProfiler_ResetAllMaxima()
orxDLLAPI void orxFASTCALL orxProfiler_PushMarker(orxS32 _s32MarkerID)
orxDLLAPI orxDOUBLE orxFASTCALL orxProfiler_GetUniqueMarkerStartTime(orxS32 _s32MarkerID)
orxDLLAPI void orxFASTCALL orxProfiler_Pause(orxBOOL _bPause)
orxDLLAPI void orxFASTCALL orxProfiler_PopMarker()
orxDLLAPI void orxFASTCALL orxProfiler_Exit()
orxDLLAPI orxSTATUS orxFASTCALL orxProfiler_Init()
orxDLLAPI orxS32 orxFASTCALL orxProfiler_GetNextMarkerID(orxS32 _s32MarkerID)
orxDLLAPI orxSTATUS orxFASTCALL orxProfiler_SelectQueryFrame(orxU32 _u32QueryFrame, orxU32 _u32ThreadID)
orxDLLAPI orxS32 orxFASTCALL orxProfiler_GetIDFromName(const orxSTRING _zName)
orxDLLAPI orxS32 orxFASTCALL orxProfiler_GetMarkerCount()
orxDLLAPI orxDOUBLE orxFASTCALL orxProfiler_GetMaxResetTime()
orxDLLAPI orxBOOL orxFASTCALL orxProfiler_IsPaused()
orxDLLAPI orxBOOL orxFASTCALL orxProfiler_AreMarkerOperationsEnabled()