Urho3D::ProfilerBlock Class Reference
Urho3D::ProfilerBlock Class Reference
#include <Urho3D/Core/Profiler.h>
Inheritance diagram for Urho3D::ProfilerBlock:
Collaboration diagram for Urho3D::ProfilerBlock:
Public Member Functions | |
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. | |
ProfilerBlock * | GetChild (const char *name) |
Return child block with the specified name. | |
Public Attributes | |
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. | |
ProfilerBlock * | parent_ |
Parent block. | |
PODVector< 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
Profiling data for one block in the profiling tree.
The documentation for this class was generated from the following file:
- Source/Urho3D/Core/Profiler.h