iProfiler.h File Reference
#include <igor/resources/module/iModule.h>
#include <iaux/data/iaString.h>
#include <iaux/system/iaTime.h>
#include <iaux/system/iaMutex.h>
#include <unordered_map>
#include <array>
#include <memory>

Classes

struct  igor::iProfilerSectionData
 
struct  igor::iProfilerSectionScoped
 
class  igor::iProfiler
 

Namespaces

namespace  igor
 resource parameters texture unit 3
 

Macros

#define PROFILER_MAX_FRAMES_COUNT   2000
 
#define IGOR_PROFILER_SCOPED(sectionName)   iProfilerSectionScoped sectionName(#sectionName)
 
#define IGOR_PROFILER_BEGIN(sectionName)   iProfiler::beginSection(#sectionName)
 
#define IGOR_PROFILER_END(sectionName)   iProfiler::endSection(#sectionName)
 

Typedefs

typedef std::shared_ptr< iProfilerSectionData > igor::iProfilerSectionDataPtr
 

Macro Definition Documentation

◆ IGOR_PROFILER_BEGIN

#define IGOR_PROFILER_BEGIN (   sectionName)    iProfiler::beginSection(#sectionName)

◆ IGOR_PROFILER_END

#define IGOR_PROFILER_END (   sectionName)    iProfiler::endSection(#sectionName)

◆ IGOR_PROFILER_SCOPED

#define IGOR_PROFILER_SCOPED (   sectionName)    iProfilerSectionScoped sectionName(#sectionName)

◆ PROFILER_MAX_FRAMES_COUNT

#define PROFILER_MAX_FRAMES_COUNT   2000

size of buffer aka amount of frames that are logged