PerfGuard(PerfGraph &graph, const PerfID id)
Start timing for the given ID.
Scope guard for starting and stopping timing for a node.
void pop()
Remove a Node from the end of the current scope.
PerfGraph & _graph
The graph we're working on.
void push(const PerfID id)
Add a Node onto the end of the end of the current callstack.
The PerfGraph will hold the master list of all registered performance segments and the head PerfNode...