Urho3D
Public Member Functions | Public Attributes | List of all members
Urho3D::EventProfilerBlock Class Reference

Event profiling data for one block in the event profiling tree. More...

#include </home/runner/work/urho3d-doxygen.github.io/urho3d-doxygen.github.io/urho3d_repo/Source/Urho3D/Core/EventProfiler.h>

Inheritance diagram for Urho3D::EventProfilerBlock:
Urho3D::ProfilerBlock

Public Member Functions

 EventProfilerBlock (EventProfilerBlock *parent, StringHash eventID)
 Construct with the specified parent block and event ID.
 
EventProfilerBlockGetChild (StringHash eventID)
 Return child block with the specified event ID.
 
- Public Member Functions inherited from Urho3D::ProfilerBlock
 ProfilerBlock (ProfilerBlock *parent, const char *name)
 Construct with the specified parent block and name.
 
virtual ~ProfilerBlock ()
 Destruct. Free the child blocks.
 
void Begin ()
 Begin timing.
 
void End ()
 End timing.
 
void EndFrame ()
 End profiling frame and update interval and total values.
 
void BeginInterval ()
 Begin new profiling interval.
 
ProfilerBlockGetChild (const char *name)
 Return child block with the specified name.
 

Public Attributes

StringHash eventID_
 Event ID.
 
- Public Attributes inherited from Urho3D::ProfilerBlock
char * name_
 Block name.
 
HiresTimer timer_
 High-resolution timer for measuring the block duration.
 
long long time_
 Time on current frame.
 
long long maxTime_
 Maximum time on current frame.
 
unsigned count_
 Calls on current frame.
 
ProfilerBlockparent_
 Parent block.
 
Vector< ProfilerBlock * > children_
 Child blocks.
 
long long frameTime_
 Time on the previous frame.
 
long long frameMaxTime_
 Maximum time on the previous frame.
 
unsigned frameCount_
 Calls on the previous frame.
 
long long intervalTime_
 Time during current profiler interval.
 
long long intervalMaxTime_
 Maximum time during current profiler interval.
 
unsigned intervalCount_
 Calls during current profiler interval.
 
long long totalTime_
 Total accumulated time.
 
long long totalMaxTime_
 All-time maximum time.
 
unsigned totalCount_
 Total accumulated calls.
 

Detailed Description

Event profiling data for one block in the event profiling tree.


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