Trace module#
Summary: The Trace module provides performance tracking utility classes for counting, timing, measuring, recording, and reporting events.
Trace – Utilities for counting and recording events.
Classes:
Functions:
  | 
A decorator that enables tracing the function that it decorates.  | 
  | 
A convenience.  | 
  | 
A context manager that calls BeginEvent on the global collector on enter and EndEvent on exit.  | 
- class pxr.Trace.AggregateNode#
 Methods:
Attributes:
True if this object has expired, False otherwise.
- Append()#
 
- property children#
 
- property count#
 
- property exclusiveCount#
 
- property exclusiveTime#
 
- property expanded#
 
- property expired#
 True if this object has expired, False otherwise.
- property id#
 
- property inclusiveTime#
 
- property key#
 
- class pxr.Trace.AggregateTree#
 Attributes:
- property expired#
 True if this object has expired, False otherwise.
- property root#
 
- class pxr.Trace.Collector#
 Methods:
Attributes:
True if this object has expired, False otherwise.
- BeginEvent()#
 
- BeginEventAtTime()#
 
- Clear()#
 
- EndEvent()#
 
- EndEventAtTime()#
 
- GetLabel()#
 
- property enabled#
 
- property expired#
 True if this object has expired, False otherwise.
- property pythonTracingEnabled#
 
- class pxr.Trace.Reporter#
 Classes:
Methods:
Attributes:
True if this object has expired, False otherwise.
- ClearTree()#
 
- GetLabel()#
 
- static LoadReport()#
 
- Report()#
 
- ReportChromeTracing()#
 
- ReportChromeTracingToFile()#
 
- ReportTimes()#
 
- UpdateTraceTrees()#
 
- property aggregateTreeRoot#
 
- property expired#
 True if this object has expired, False otherwise.
- property foldRecursiveCalls#
 
- globalReporter = <pxr.Trace.Reporter object>#
 
- property groupByFunction#
 
- property shouldAdjustForOverheadAndNoise#
 
- pxr.Trace.TraceFunction(obj)#
 A decorator that enables tracing the function that it decorates. If you decorate with ‘TraceFunction’ the function will be traced in the global collector.
- pxr.Trace.TraceMethod(obj)#
 A convenience. Same as TraceFunction but changes the recorded label to use the term ‘method’ rather than ‘function’.
- pxr.Trace.TraceScope(label)#
 A context manager that calls BeginEvent on the global collector on enter and EndEvent on exit.