8 #ifndef PXR_BASE_TRACE_EVENT_NODE_H 
    9 #define PXR_BASE_TRACE_EVENT_NODE_H 
   45     static TraceEventNodeRefPtr 
New() {
 
   56                           TraceEventNodeRefPtrVector&& children,
 
   57                           const bool separateEvents) {
 
   77     void Append(TraceEventNodeRefPtr node);
 
  119         return _fromSeparateEvents;
 
  129         TraceEventNodeRefPtrVector&& children,
 
  133         , _category(category)
 
  134         , _beginTime(beginTime)
 
  136         , _children(std::move(children))
 
  137         , _fromSeparateEvents(separateEvents)
 
  145     TraceEventNodeRefPtrVector _children;
 
  146     bool _fromSeparateEvents;
 
  153 #endif // PXR_BASE_TRACE_EVENT_NODE_H 
TfRefPtr< T > TfCreateRefPtr(T *ptr)
 
void AddAttribute(const TfToken &key, const AttributeData &attr)
Add data to this node. 
 
TimeStamp GetBeginTime()
Returns the time that this scope started. 
 
static TraceEventNodeRefPtr New(const TfToken &key, const TraceCategoryId category, const TimeStamp beginTime, const TimeStamp endTime, TraceEventNodeRefPtrVector &&children, const bool separateEvents)
 
bool IsFromSeparateEvents() const 
 
TfToken GetKey()
Returns the name of this node. 
 
static TraceEventNodeRefPtr New()
 
TraceCategoryId GetCategory() const 
Returns the category of this node. 
 
PXR_NAMESPACE_OPEN_SCOPE TF_DECLARE_REF_PTRS(TraceEventNode)
 
TraceEventNodeRefPtr Append(const TfToken &key, TraceCategoryId category, TimeStamp beginTime, TimeStamp endTime, bool separateEvents)
 
TraceEvent::TimeStamp TimeStamp
 
TimeStamp GetEndTime()
Returns the time that this scope ended. 
 
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
 
#define PXR_NAMESPACE_CLOSE_SCOPE
 
uint64_t TimeStamp
Time in "ticks". 
 
std::multimap< TfToken, AttributeData > AttributeMap
 
void SetBeginAndEndTimesFromChildren()
 
TraceEventData AttributeData
 
uint32_t TraceCategoryId
Categories that a TraceReporter can use to filter events. 
 
const AttributeMap & GetAttributes() const 
Return the data associated with this node. 
 
const TraceEventNodeRefPtrVector & GetChildrenRef()
Returns references to the children of this node.