| Index: tools/telemetry/telemetry/timeline/event.py
|
| diff --git a/tools/telemetry/telemetry/timeline/event.py b/tools/telemetry/telemetry/timeline/event.py
|
| index 293e7754258eeed1061a65a9eab71d3448b745b3..996cba9b8908e261c26efb9dc3f5c90374da8041 100644
|
| --- a/tools/telemetry/telemetry/timeline/event.py
|
| +++ b/tools/telemetry/telemetry/timeline/event.py
|
| @@ -5,12 +5,12 @@
|
| class TimelineEvent(object):
|
| """Represents a timeline event.
|
|
|
| - thread_start, thread_duration and thread_end are the start time, duration
|
| - and end time of this event as measured by the thread-specific CPU clock
|
| - (ticking when the thread is actually scheduled). Thread time is optional
|
| - on trace events and the corresponding attributes in TimelineEvent will be
|
| - set to None (not 0) if not present. Users of this class need to properly
|
| - handle this case.
|
| + thread_start, thread_duration and thread_end are the start time, duration
|
| + and end time of this event as measured by the thread-specific CPU clock
|
| + (ticking when the thread is actually scheduled). Thread time is optional
|
| + on trace events and the corresponding attributes in TimelineEvent will be
|
| + set to None (not 0) if not present. Users of this class need to properly
|
| + handle this case.
|
| """
|
| def __init__(self, category, name, start, duration, thread_start=None,
|
| thread_duration=None, args=None):
|
| @@ -34,7 +34,7 @@ class TimelineEvent(object):
|
| def thread_end(self):
|
| """Thread-specific CPU time when this event ended.
|
|
|
| - May be None if the trace event didn't have thread time data.
|
| + May be None if the trace event didn't have thread time data.
|
| """
|
| if self.thread_start == None or self.thread_duration == None:
|
| return None
|
|
|