VR-Forces 4.8 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Namespaces | Macros | Functions | Variables
DtProfiler.h File Reference

Contains the classes allowing the profiler to work, DtProfileManager, DtProfileSample, and DtProfileIterator. More...

Go to the source code of this file.

Classes

class  makVrv::DtProfileSample
 DtProfileSampleClass is used to start/stop a profiled section It is preferable to use the macro at the top of the header file to insert these objects into a function profile is started on creation and stopped on destruction. More...
 
struct  makVrv::DtProfileTarget< Enabled >
 DtProfileTarget is used to start/stop a profiled section It is preferable to use the macro at the top of the header file to insert these objects into a function profile is started on creation and stopped on destruction. More...
 
struct  makVrv::DtProfileTarget< true >
 
class  makVrv::DtPerfomanceStatSample
 DtProfileSampleClass is used to start/stop a profiled section It is preferable to use the macro at the top of the header file to insert these objects into a function profile is started on creation and stopped on destruction. More...
 

Namespaces

 makVrv
 Declare & export the plugin initialization function (bool initDeModule(DtDe* de))
 

Macros

#define NO_PROFILER
 
#define DtPROFILE(name)   DtPROFILE_X(name, __LINE__);
 
#define DtPROFILEC(name, color)   DtPROFILE_X(name, __LINE__);
 
#define DtPROFILE_SECTION(name)   {makVrv::DtProfileSample _profileSample(name);
 
#define DtPROFILEzone   DtPROFILE_X(__func__, __LINE__);
 
#define DtProfilerPlot(x, y)
 
#define DtProfilerFrameMark
 
#define DtProfilerThreadName(name)
 
#define DtProfilerPlot(x, y)
 
#define DtProfilerMessage(str, stringLen)
 
#define DtProfilerText(text)
 
#define DtPROFILE_RESTRICTED(name, target)   makVrv::DtProfileTarget<target> _profileTarget##line(name);
 
#define DtPROFILE_X(name, line)   DtPROFILE_ACTUAL(name, line)
 
#define DtPROFILE_ACTUAL(name, line)   makVrv::DtProfileSample _profileSample##line(name);
 
#define DtPROFILE_SECTION_END   }
 
#define DtPERFORMANCE_STAT(name)   DtPERFORMANCE_STAT_X(name, __LINE__)
 
#define DtPERFORMANCE_STAT_X(name, line)   DtPERFORMANCE_STAT_ACTUAL(name, line)
 
#define DtPERFORMANCE_STAT_ACTUAL(name, line)   makVrv::DtPerfomanceStatSample _performanceStatSample##line(name);
 

Functions

void DT_DLL_VRVUTIL makVrv::SetThreadName (const char *name)
 

Variables

const bool Profile_DtSceneObjectUpdater = false
 
const bool Profile_DtSurfaceClampingUpdater = false
 
const bool Profile_DtOsgCullVisitor = false
 

Detailed Description

Contains the classes allowing the profiler to work, DtProfileManager, DtProfileSample, and DtProfileIterator.

Macro Definition Documentation

#define NO_PROFILER
#define DtPROFILE (   name)    DtPROFILE_X(name, __LINE__);
#define DtPROFILEC (   name,
  color 
)    DtPROFILE_X(name, __LINE__);
#define DtPROFILE_SECTION (   name)    {makVrv::DtProfileSample _profileSample(name);
#define DtPROFILEzone   DtPROFILE_X(__func__, __LINE__);
#define DtProfilerPlot (   x,
 
)
#define DtProfilerFrameMark
#define DtProfilerThreadName (   name)
#define DtProfilerPlot (   x,
 
)
#define DtProfilerMessage (   str,
  stringLen 
)
#define DtProfilerText (   text)
#define DtPROFILE_RESTRICTED (   name,
  target 
)    makVrv::DtProfileTarget<target> _profileTarget##line(name);
#define DtPROFILE_X (   name,
  line 
)    DtPROFILE_ACTUAL(name, line)
#define DtPROFILE_ACTUAL (   name,
  line 
)    makVrv::DtProfileSample _profileSample##line(name);
#define DtPROFILE_SECTION_END   }
#define DtPERFORMANCE_STAT (   name)    DtPERFORMANCE_STAT_X(name, __LINE__)
#define DtPERFORMANCE_STAT_X (   name,
  line 
)    DtPERFORMANCE_STAT_ACTUAL(name, line)
#define DtPERFORMANCE_STAT_ACTUAL (   name,
  line 
)    makVrv::DtPerfomanceStatSample _performanceStatSample##line(name);

Variable Documentation

const bool Profile_DtSceneObjectUpdater = false
const bool Profile_DtSurfaceClampingUpdater = false
const bool Profile_DtOsgCullVisitor = false

Document ID: Generated on Thu Aug 27 10:56:05 EDT 2020 from SVN revision 217100
Copyright © 2005-2020 MAK Technologies. All Rights Reserved (www.mak.com)