| |
- __builtin__.object
-
- TraceEventStats
- TraceEventStatsInput
class TraceEventStats(__builtin__.object) |
|
Reports durations and counts of given trace events. |
|
Methods defined here:
- AddInput(self, trace_event_aggregator_input)
- AddResults(self, model, renderer_process, interactions, results)
- __init__(self, trace_event_aggregator_inputs=None)
Static methods defined here:
- ThreadDurationIfPresent(event)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
|
class TraceEventStatsInput(__builtin__.object) |
|
Input for the TraceEventStats.
Using this object with TraceEventStats will include two metrics, one with a
list of times of the given event, and one for the count of the events, named
`metric_name + '-count'`.
Args:
event_category: The category of the event to track.
event_name: The name of the event to track.
metric_name: The name of the metric name, which accumulates all of the
times of the events.
metric_description: Description of the metric.
units: Units for the metric.
process_name: (optional) The name of the process to inspect for the trace
events. Defaults to 'Renderer'. |
|
Methods defined here:
- __init__(self, event_category, event_name, metric_name, metric_description, units, process_name='Renderer')
Static methods defined here:
- GetEventId(event_category, event_name)
Data descriptors defined here:
- __dict__
- dictionary for instance variables (if defined)
- __weakref__
- list of weak references to the object (if defined)
| |