HomeSort by relevance Sort by last modified time
    Searched refs:thread_duration (Results 1 - 25 of 26) sorted by null

1 2

  /external/chromium-trace/catapult/telemetry/telemetry/timeline/
event.py 8 thread_start, thread_duration and thread_end are the start time, duration
16 thread_duration=None, args=None):
22 self.thread_duration = thread_duration
31 return self.thread_start is not None and self.thread_duration is not None
39 if self.thread_start == None or self.thread_duration == None:
41 return self.thread_start + self.thread_duration
50 "thread_start=%s, thread_duration=%s%s)") % (
55 self.thread_duration,
slice.py 18 thread_timestamp=None, thread_duration=None, args=None):
20 category, name, timestamp, duration, thread_timestamp, thread_duration,
55 have a thread_duration value.
57 if not self.thread_duration:
62 if e.thread_duration == None:
64 child_total += e.thread_duration
66 return self.thread_duration - child_total
slice_unittest.py 16 thread_duration=5)
18 thread_duration=1)
20 thread_duration=0.125)
22 thread_duration=None)
async_slice.py 15 thread_start=None, thread_duration=None):
17 category, name, timestamp, duration, thread_start, thread_duration,
thread.py 143 curr_slice.thread_duration = (end_thread_timestamp -
149 thread_timestamp, thread_duration, args=None):
157 new_slice.thread_duration = thread_duration
179 s.thread_duration = max_thread_timestamp - s.thread_start
180 assert s.thread_duration >= 0
trace_event_importer_unittest.py 56 self.assertAlmostEqual((310 - 280) / 1000.0, slice_event.thread_duration)
67 self.assertAlmostEqual((357 - 356) / 1000.0, slice_event.thread_duration)
77 self.assertEqual(None, slice_event.thread_duration)
145 self.assertAlmostEqual(0.003, slice_a.thread_duration)
152 self.assertAlmostEqual(0.001, slice_b.thread_duration)
184 self.assertAlmostEqual((3 - 1) / 1000.0, slice_event.thread_duration)
194 self.assertAlmostEqual((5 - 2) / 1000.0, slice_event.thread_duration)
213 self.assertAlmostEqual(0, slice_event.thread_duration)
268 self.assertAlmostEqual(0.003, slice_event.thread_duration)
281 self.assertAlmostEqual(0.001, slice2.thread_duration)
    [all...]
counter.py 49 def thread_duration(self): member in class:CounterSample
trace_event_importer.py 336 async_slice.thread_duration = ((event['tts'] / 1000.0)
360 sub_slice.thread_duration = \
  /external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
blob_timeline_unittest.py 14 FakeEvent = namedtuple('Event', 'name, start, end, thread_duration, args')
34 def FakeWriteEvent(start, end, thread_duration=None):
35 if not thread_duration:
36 thread_duration = end - start
38 start, end, thread_duration, {'uuid':'fakeuuid'})
40 def FakeReadEvent(start, end, uuid, thread_duration=None):
41 if not thread_duration:
42 thread_duration = end - start
44 start, end, thread_duration, {'uuid': uuid})
jitter_timeline_unittest.py 14 FakeEvent = namedtuple('Event', 'name, start, end, thread_duration, args')
30 def FakeJitterEvent(start, end, value, thread_duration=None):
31 if not thread_duration:
32 thread_duration = end - start
34 start, end, thread_duration, {'value':value})
v8_gc_latency.py 18 self.thread_duration = 0.0
26 return self.thread_duration - self.thread_duration_inside_idle
31 100 * self.thread_duration_inside_idle, self.thread_duration)
73 if event.thread_duration is None:
77 event_duration = event.thread_duration
78 event_stat.thread_duration += event_duration
106 v8_event_stat.thread_duration,
125 v8_event_stat.thread_duration, v8_event_stat.count)
156 gc_total = sum(x.thread_duration for x in v8_event_stats)
v8_gc_latency_unittest.py 21 self.thread_duration = 0.0
37 def AddEvent(self, category, name, thread_start, thread_duration,
40 wall_duration = wall_duration or thread_duration
44 thread_start + thread_duration)
103 thread_start=0, thread_duration=14, wall_start=5, wall_duration=35)
116 thread_start=0, thread_duration=77, wall_start=5, wall_duration=88)
167 thread_start=0, thread_duration=57, wall_start=5, wall_duration=68)
217 thread_start=0, thread_duration=80, wall_start=5, wall_duration=92)
268 thread_start=0, thread_duration=80, wall_start=5, wall_duration=92)
273 thread_start=15, thread_duration=4, wall_start=15, wall_duration=14
    [all...]
single_event.py 34 events_found.append(event.thread_duration)
blob_timeline.py 39 if event.thread_duration:
40 return event.thread_duration
trace_event_stats.py 68 if event.thread_duration:
69 return event.thread_duration
trace_event_stats_unittest.py 16 FakeEvent = namedtuple('Event', 'name, start, end, thread_duration, args')
53 start, duration, thread_start, thread_duration):
58 start, duration, thread_start, thread_duration)
mainthread_jank_stats_unittest.py 21 thread_duration=thread_end - thread_start)
v8_execution_unittest.py 70 start, duration, thread_start=None, thread_duration=None):
75 duration if thread_duration is None else thread_duration)
rendering_stats_unittest.py 77 timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
108 timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
141 timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
gpu_timeline_unittest.py 32 thread_duration=duration),
46 thread_duration=duration),
gpu_timeline.py 39 # Some platforms do not support thread_duration, convert those to 0.
41 lambda event: event.thread_duration or 0)
  /external/chromium-trace/catapult/telemetry/telemetry/web_perf/
timeline_interaction_record_unittest.py 29 timestamp=0, duration=200, thread_start=20, thread_duration=100)
35 thread_duration = thread_end - thread_start
37 duration, thread_start, thread_duration)
68 end_thread=renderer_main, thread_start=30, thread_duration=30)
100 end_thread=renderer_main, thread_start=30, thread_duration=30)
106 ' start=0.000000, duration=200, thread_start=30, thread_duration=30))')
118 # scheduled 75% of the time (hence thread_duration = 100ms*75% = 75ms).
122 end_thread=renderer_main, thread_start=55, thread_duration=75)
timeline_interaction_record.py 214 # record's async slice with their thread_duration/duration ratios.
221 timeline_slice.thread_duration / float(timeline_slice.duration))
223 self._async_event.thread_duration / float(self._async_event.duration))
  /external/libchrome/base/trace_event/
trace_event_impl.h 137 TimeDelta thread_duration() const { return thread_duration_; } function in class:base::trace_event::TraceEvent
trace_event_impl.cc 338 int64_t thread_duration = thread_duration_.ToInternalValue(); local
339 if (thread_duration != -1)
340 StringAppendF(out, ",\"tdur\":%" PRId64, thread_duration);

Completed in 214 milliseconds

1 2