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.
Members¶
Size | key |
Methods¶
AutoProfilingEvent ( in AutoProfilingEvent other ) | |
AutoProfilingEvent ( in String label ) | |
AutoProfilingEvent ( in String label, in Ref<StatisticSource> source ) | |
AutoProfilingEvent () | |
AutoProfilingEvent | clone ? () |
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.
default constructor
AutoProfilingEvent AutoProfilingEvent.clone? ()
clone method