VR-Vantage 2.7 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator 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

namespace  makVrv
 Contains the makVrv::Dt2DArcFacade class declaration.

Macros

#define TRACY_ENABLE
#define TRACY_ON_DEMAND
#define TRACY_DELAYED_INIT
#define ZoneScopedNA(name, active)   ZoneNamedN( ___tracy_scoped_zone, name, active )
#define ZoneScopedNCA(name, color, active)   ZoneNamedNC( ___tracy_scoped_zone, name, color, active )
#define DtPROFILEzone   ZoneNamed(___tracy_scoped_zone, makVrv::DtProfileManager::collectTracyStats());
#define DtPROFILE(name)   ZoneScopedNA(name, makVrv::DtProfileManager::collectTracyStats()); DtPROFILE_X(name, __LINE__);
#define DtPROFILEC(name, color)   ZoneScopedNCA(name, color, makVrv::DtProfileManager::collectTracyStats()); DtPROFILE_X(name, __LINE__);
#define DtPROFILE_SECTION(name)   {ZoneScopedNA(name, makVrv::DtProfileManager::collectTracyStats()); makVrv::DtProfileSample _profileSample(name);
#define DtProfilerFrameMark   if(makVrv::DtProfileManager::collectTracyStats()) { FrameMark; }
#define DtProfilerPlot(x, y)   TracyPlot(x,y)
#define DtProfilerThreadName(name)   tracy::SetThreadName(name );
#define DtProfilerMessage(str, stringLen)   TracyMessage(str, stringLen)
#define DtProfilerText(text)   _zoneSetText(___tracy_scoped_zone, 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 _zoneSetText (tracy::ScopedZone &zone, const char *text)
void _zoneSetText (tracy::ScopedZone &zone, const std::string &text)
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 TRACY_ENABLE
#define TRACY_ON_DEMAND
#define TRACY_DELAYED_INIT
#define ZoneScopedNA (   name,
  active 
)    ZoneNamedN( ___tracy_scoped_zone, name, active )
#define ZoneScopedNCA (   name,
  color,
  active 
)    ZoneNamedNC( ___tracy_scoped_zone, name, color, active )
#define DtPROFILEzone   ZoneNamed(___tracy_scoped_zone, makVrv::DtProfileManager::collectTracyStats());
#define DtPROFILE (   name)    ZoneScopedNA(name, makVrv::DtProfileManager::collectTracyStats()); DtPROFILE_X(name, __LINE__);
#define DtPROFILEC (   name,
  color 
)    ZoneScopedNCA(name, color, makVrv::DtProfileManager::collectTracyStats()); DtPROFILE_X(name, __LINE__);
#define DtPROFILE_SECTION (   name)    {ZoneScopedNA(name, makVrv::DtProfileManager::collectTracyStats()); makVrv::DtProfileSample _profileSample(name);
#define DtProfilerFrameMark   if(makVrv::DtProfileManager::collectTracyStats()) { FrameMark; }
#define DtProfilerPlot (   x,
  y 
)    TracyPlot(x,y)
#define DtProfilerThreadName (   name)    tracy::SetThreadName(name );
#define DtProfilerMessage (   str,
  stringLen 
)    TracyMessage(str, stringLen)
#define DtProfilerText (   text)    _zoneSetText(___tracy_scoped_zone, 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);

Function Documentation

void _zoneSetText ( tracy::ScopedZone zone,
const char *  text 
)
inline
void _zoneSetText ( tracy::ScopedZone zone,
const std::string text 
)
inline

Variable Documentation

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


Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)