9 #ifndef __PDG_NODE_STATS_H__
10 #define __PDG_NODE_STATS_H__
54 void reset(
bool full);
58 {
return myWorkItemStates; }
60 {
return myWorkItemStates; }
64 {
return myCookCount; }
69 int old_count = myCookCount++;
74 fpreal getStat(StatType stat)
const;
94 fpreal totalCookTime()
const;
98 fpreal wallclockCookTime()
const;
102 fpreal myStats[eStatCount];
The timestamp at which the node is fully generated.
PDG_WorkItemStateTracker & stateTracker()
int cookCount() const
Returns the number of times this node has cooked.
The total time spent cooking work items.
The total time spent generating work items.
The timestamp at which the node first began cooking work items.
StatType
Enumeration of stats stored in this object.
The timestamp at which the node first began generating work items.
const PDG_WorkItemStateTracker & stateTracker() const
Returns the work item state tracker for this node.
The timestamp at which the node is fully cooked.
int incrementCookCount()
Increments the cook count and returns the old value.