Ocular Engine
Ocular::Core::ProfilerNode Class Reference

Public Member Functions

 ProfilerNode (ProfilerNode *parent, std::string const &name, std::string const &segment)
 
bool operator== (ProfilerNode const *rhs)
 

Public Attributes

std::string name
 Name of this node (fully qualified method/function name)
 
std::string segment
 Segment name of this node.
 
uint32_t totalCalls
 Total amount of times this node has been profiled.
 
uint32_t blockDepth
 Depth of the block (used for printing)
 
uint32_t recursiveDepth
 If in a recursive function, the current depth.
 
uint64_t blockStart
 Start time (ns) of the latest block.
 
uint64_t localElapsed
 Amount of time elapsed in the local block.
 
uint64_t totalElapsed
 Total amount of time elapsed.
 
ProfilerNodeparent
 Parent node (null if root)
 
std::vector< ProfilerNode * > children
 Children nodes.
 

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