OGRE 2.1
Object-Oriented Graphics Rendering Engine
Loading...
Searching...
No Matches
OgreProfiler.h File Reference
#include "OgrePrerequisites.h"
#include "OgreSingleton.h"
#include "OgreProfilerCommon.h"
#include "Remotery.h"
#include "OgreHeaderPrefix.h"
#include "OgreHeaderSuffix.h"

Classes

class  Ogre::Profile
 An individual profile that will be processed by the Profiler. More...
 
struct  Ogre::ProfileFrame
 Represents the total timing information of a profile since profiles can be called more than once each frame. More...
 
struct  Ogre::ProfileHistory
 Represents a history of each profile during the duration of the app. More...
 
class  Ogre::ProfileInstance
 Represents an individual profile call. More...
 
class  Ogre::Profiler
 The profiler allows you to measure the performance of your code. More...
 
class  Ogre::ProfileSessionListener
 ProfileSessionListener should be used to visualize profile results. More...
 

Namespaces

namespace  Ogre
 

Macros

#define OgreProfile(a)   OgreProfileL( a, __LINE__ )
 
#define OgreProfileBegin(a)   Ogre::Profiler::getSingleton().beginProfile( (a) )
 
#define OgreProfileBeginDynamic(a)   OgreProfileBegin( a )
 
#define OgreProfileBeginDynamicHashed(a, hash)   OgreProfileBegin( a )
 
#define OgreProfileBeginGPUEvent(g)   Ogre::Profiler::getSingleton().beginGPUEvent(g)
 
#define OgreProfileBeginGroup(a, g)   Ogre::Profiler::getSingleton().beginProfile( (a), (g) )
 
#define OgreProfileEnd(a)   Ogre::Profiler::getSingleton().endProfile( (a) )
 
#define OgreProfileEndGPUEvent(g)   Ogre::Profiler::getSingleton().endGPUEvent(g)
 
#define OgreProfileEndGroup(a, g)   Ogre::Profiler::getSingleton().endProfile( (a), (g) )
 
#define OgreProfileGpuBegin(a)
 
#define OgreProfileGpuBeginDynamic(a)
 
#define OgreProfileGpuBeginDynamicHashed(a, hash)
 
#define OgreProfileGpuEnd(a)
 
#define OgreProfileGroup(a, g)   OgreProfileGroupL( a, g, ProfileSampleFlags::FlagsNone, __LINE__ )
 
#define OgreProfileGroupAggregate(a, g)   OgreProfileGroupL( a, g, ProfileSampleFlags::Aggregate, __LINE__ )
 
#define OgreProfileGroupL(a, g, f, line)   OgreProfileGroupL2( a, g, f, line )
 
#define OgreProfileGroupL2(a, g, f, line)   Ogre::Profile _OgreProfileInstance##line( (a), (f), (g) )
 
#define OgreProfileL(a, line)   OgreProfileL2( a, line )
 
#define OgreProfileL2(a, line)   Ogre::Profile _OgreProfileInstance##line( (a), ProfileSampleFlags::FlagsNone )
 
#define OgreProfileMarkGPUEvent(e)   Ogre::Profiler::getSingleton().markGPUEvent(e)
 
#define OgreProfilerUseStableMarkers   true
 

Enumerations

enum  Ogre::ProfileGroupMask {
  Ogre::OGREPROF_USER_DEFAULT = 0x00000001 , Ogre::OGREPROF_ALL = 0xFF000000 , Ogre::OGREPROF_GENERAL = 0x80000000 , Ogre::OGREPROF_CULLING = 0x40000000 ,
  Ogre::OGREPROF_RENDERING = 0x20000000
}
 List of reserved profiling masks. More...
 

Macro Definition Documentation

◆ OgreProfile

#define OgreProfile (   a)    OgreProfileL( a, __LINE__ )

◆ OgreProfileBegin

#define OgreProfileBegin (   a)    Ogre::Profiler::getSingleton().beginProfile( (a) )

◆ OgreProfileBeginDynamic

#define OgreProfileBeginDynamic (   a)    OgreProfileBegin( a )

◆ OgreProfileBeginDynamicHashed

#define OgreProfileBeginDynamicHashed (   a,
  hash 
)    OgreProfileBegin( a )

◆ OgreProfileBeginGPUEvent

#define OgreProfileBeginGPUEvent (   g)    Ogre::Profiler::getSingleton().beginGPUEvent(g)

◆ OgreProfileBeginGroup

#define OgreProfileBeginGroup (   a,
 
)    Ogre::Profiler::getSingleton().beginProfile( (a), (g) )

◆ OgreProfileEnd

#define OgreProfileEnd (   a)    Ogre::Profiler::getSingleton().endProfile( (a) )

◆ OgreProfileEndGPUEvent

#define OgreProfileEndGPUEvent (   g)    Ogre::Profiler::getSingleton().endGPUEvent(g)

◆ OgreProfileEndGroup

#define OgreProfileEndGroup (   a,
 
)    Ogre::Profiler::getSingleton().endProfile( (a), (g) )

◆ OgreProfileGpuBegin

#define OgreProfileGpuBegin (   a)

◆ OgreProfileGpuBeginDynamic

#define OgreProfileGpuBeginDynamic (   a)

◆ OgreProfileGpuBeginDynamicHashed

#define OgreProfileGpuBeginDynamicHashed (   a,
  hash 
)

◆ OgreProfileGpuEnd

#define OgreProfileGpuEnd (   a)

◆ OgreProfileGroup

#define OgreProfileGroup (   a,
 
)    OgreProfileGroupL( a, g, ProfileSampleFlags::FlagsNone, __LINE__ )

◆ OgreProfileGroupAggregate

#define OgreProfileGroupAggregate (   a,
 
)    OgreProfileGroupL( a, g, ProfileSampleFlags::Aggregate, __LINE__ )

◆ OgreProfileGroupL

#define OgreProfileGroupL (   a,
  g,
  f,
  line 
)    OgreProfileGroupL2( a, g, f, line )

◆ OgreProfileGroupL2

#define OgreProfileGroupL2 (   a,
  g,
  f,
  line 
)    Ogre::Profile _OgreProfileInstance##line( (a), (f), (g) )

◆ OgreProfileL

#define OgreProfileL (   a,
  line 
)    OgreProfileL2( a, line )

◆ OgreProfileL2

#define OgreProfileL2 (   a,
  line 
)    Ogre::Profile _OgreProfileInstance##line( (a), ProfileSampleFlags::FlagsNone )

◆ OgreProfileMarkGPUEvent

#define OgreProfileMarkGPUEvent (   e)    Ogre::Profiler::getSingleton().markGPUEvent(e)

◆ OgreProfilerUseStableMarkers

#define OgreProfilerUseStableMarkers   true