VR-Vantage API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Namespaces | Macros | 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 profield 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 profield 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

namespace  makVrv
 REMOVE THIS along with the creator later.

Macros

#define DtPROFILE_RESTRICTED(name, target)   makVrv::DtProfileTarget<target> _profileTarget##line(name);
#define DtPROFILE(name)   DtPROFILE_X(name, __LINE__)
#define DtPROFILE_X(name, line)   DtPROFILE_ACTUAL(name, line)
#define DtPROFILE_ACTUAL(name, line)   makVrv::DtProfileSample _profileSample##line(name);
#define DtPROFILE_FUNCTION(name, func)   {makVrv::DtProfileSample _profileSample(name); (func);}
#define DtPROFILE_SECTION(name)   { makVrv::DtProfileSample _profileSample(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);

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 DtPROFILE_RESTRICTED (   name,
  target 
)    makVrv::DtProfileTarget<target> _profileTarget##line(name);
#define DtPROFILE (   name)    DtPROFILE_X(name, __LINE__)
#define DtPROFILE_X (   name,
  line 
)    DtPROFILE_ACTUAL(name, line)
#define DtPROFILE_ACTUAL (   name,
  line 
)    makVrv::DtProfileSample _profileSample##line(name);
#define DtPROFILE_FUNCTION (   name,
  func 
)    {makVrv::DtProfileSample _profileSample(name); (func);}
#define DtPROFILE_SECTION (   name)    { makVrv::DtProfileSample _profileSample(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


Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)