AutoProfilingEvent (struct)

The AutoProfilingEvent helper struct simplifies the recording of a profiling event by automatically calling BeginProfilingEvent in its constructor and EndProfilingEvent in its destructor. This is intended to be created as a local variable, whose scope is the same as the profiled event. See プロファイリング for an example of usage.

AutoProfilingEvent AutoProfilingEvent AutoProfilingEvent

Members

Size key  

Methods in detail

AutoProfilingEvent ( in AutoProfilingEvent other )

copy constructor


AutoProfilingEvent ( in String label )

Constructs a AutoProfilingEvent identified as label.


AutoProfilingEvent ( in String label, in Ref<StatisticSource> source )

Constructs a AutoProfilingEvent identified as label and related to the source object.


AutoProfilingEvent ()

default constructor


AutoProfilingEvent AutoProfilingEvent.clone? ()

clone method