igor::iProfiler Class Reference

#include <iProfiler.h>

Static Public Member Functions

static void nextFrame ()
 
static const std::vector< iProfilerSectionDataPtrgetSections ()
 
static int32 getCurrentFrameIndex ()
 
static iProfilerSectionDataPtr getSectionData (const iaString &sectionName)
 
static void beginSection (const iaString &sectionName)
 
static void endSection (const iaString &sectionName)
 
static iaTime getPeakFrame ()
 

Friends

class iProfilerSectionScoped
 

Detailed Description

render statistics

Member Function Documentation

◆ beginSection()

void igor::iProfiler::beginSection ( const iaString sectionName)
static

begins section with given name

Parameters
sectionNamethe given name
Returns
pointer to given section data

◆ endSection()

void igor::iProfiler::endSection ( const iaString sectionName)
static

ends section with given name

Parameters
sectionNamethe given name

◆ getCurrentFrameIndex()

int32 igor::iProfiler::getCurrentFrameIndex ( )
static
Returns
current frame index

◆ getPeakFrame()

iaTime igor::iProfiler::getPeakFrame ( )
static
Returns
peak frame over collected data

◆ getSectionData()

iProfilerSectionDataPtr igor::iProfiler::getSectionData ( const iaString sectionName)
static
Returns
section data for given section name
Parameters
sectionNamethe given section name

◆ getSections()

const std::vector< iProfilerSectionDataPtr > igor::iProfiler::getSections ( )
static
Returns
reference to list of sections

be careful to not change that list

◆ nextFrame()

void igor::iProfiler::nextFrame ( )
static

steps to next frame

Friends And Related Function Documentation

◆ iProfilerSectionScoped

friend class iProfilerSectionScoped
friend

The documentation for this class was generated from the following files: