Home
last modified time | relevance | path

Searched refs:thread_duration (Results 1 – 25 of 26) sorted by relevance

12

/external/chromium-trace/catapult/telemetry/telemetry/timeline/
Devent.py16 thread_duration=None, args=None): argument
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
55 self.thread_duration,
Dslice.py18 thread_timestamp=None, thread_duration=None, args=None): argument
20 category, name, timestamp, duration, thread_timestamp, thread_duration,
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
Dslice_unittest.py16 thread_duration=5)
18 thread_duration=1)
20 thread_duration=0.125)
22 thread_duration=None)
Dthread.py143 curr_slice.thread_duration = (end_thread_timestamp -
149 thread_timestamp, thread_duration, args=None): argument
157 new_slice.thread_duration = thread_duration
179 s.thread_duration = max_thread_timestamp - s.thread_start
180 assert s.thread_duration >= 0
Dtrace_event_importer_unittest.py56 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 …]
Dasync_slice.py15 thread_start=None, thread_duration=None): argument
17 category, name, timestamp, duration, thread_start, thread_duration,
Dcounter.py49 def thread_duration(self): member in CounterSample
Dtrace_event_importer.py336 async_slice.thread_duration = ((event['tts'] / 1000.0)
360 sub_slice.thread_duration = \
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dblob_timeline_unittest.py34 def FakeWriteEvent(start, end, thread_duration=None): argument
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): argument
41 if not thread_duration:
42 thread_duration = end - start
44 start, end, thread_duration, {'uuid': uuid})
Dv8_gc_latency.py18 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)
Dv8_gc_latency_unittest.py21 self.thread_duration = 0.0
37 def AddEvent(self, category, name, thread_start, thread_duration, argument
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 …]
Djitter_timeline_unittest.py30 def FakeJitterEvent(start, end, value, thread_duration=None): argument
31 if not thread_duration:
32 thread_duration = end - start
34 start, end, thread_duration, {'value':value})
Dv8_execution_unittest.py70 start, duration, thread_start=None, thread_duration=None): argument
75 duration if thread_duration is None else thread_duration)
Dblob_timeline.py39 if event.thread_duration:
40 return event.thread_duration
Dtrace_event_stats.py68 if event.thread_duration:
69 return event.thread_duration
Dtrace_event_stats_unittest.py53 start, duration, thread_start, thread_duration): argument
58 start, duration, thread_start, thread_duration)
Dsingle_event.py34 events_found.append(event.thread_duration)
Dmainthread_jank_stats_unittest.py21 thread_duration=thread_end - thread_start)
Drendering_stats_unittest.py77 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,
Dgpu_timeline_unittest.py32 thread_duration=duration),
46 thread_duration=duration),
Dgpu_timeline.py41 lambda event: event.thread_duration or 0)
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/
Dtimeline_interaction_record_unittest.py29 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)
122 end_thread=renderer_main, thread_start=55, thread_duration=75)
Dtimeline_interaction_record.py221 timeline_slice.thread_duration / float(timeline_slice.duration))
223 self._async_event.thread_duration / float(self._async_event.duration))
/external/libchrome/base/trace_event/
Dtrace_event_impl.cc338 int64_t thread_duration = thread_duration_.ToInternalValue(); in AppendAsJSON() local
339 if (thread_duration != -1) in AppendAsJSON()
340 StringAppendF(out, ",\"tdur\":%" PRId64, thread_duration); in AppendAsJSON()
Dtrace_event_impl.h137 TimeDelta thread_duration() const { return thread_duration_; } in thread_duration() function

12