Home
last modified time | relevance | path

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

/external/chromium_org/tools/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.py17 thread_timestamp=None, thread_duration=None, args=None): argument
19 category, name, timestamp, duration, thread_timestamp, thread_duration,
49 if not self.thread_duration:
54 if e.thread_duration == None:
56 child_total += e.thread_duration
58 return self.thread_duration - child_total
Dslice_unittest.py15 thread_duration=5)
17 thread_duration=1)
19 thread_duration=0.125)
21 thread_duration=None)
Dthread.py154 curr_slice.thread_duration = (end_thread_timestamp -
160 thread_timestamp, thread_duration, args=None): argument
168 new_slice.thread_duration = thread_duration
182 s.thread_duration = max_thread_timestamp - s.thread_start
183 assert s.thread_duration >= 0
Dtrace_event_importer_unittest.py67 self.assertAlmostEqual((310 - 280) / 1000.0, slice_event.thread_duration)
78 self.assertAlmostEqual((357 - 356) / 1000.0, slice_event.thread_duration)
88 self.assertEqual(None, slice_event.thread_duration)
157 self.assertAlmostEqual(0.003, slice_a.thread_duration)
164 self.assertAlmostEqual(0.001, slice_b.thread_duration)
196 self.assertAlmostEqual((3 - 1) / 1000.0, slice_event.thread_duration)
206 self.assertAlmostEqual((5 - 2) / 1000.0, slice_event.thread_duration)
225 self.assertAlmostEqual(0, slice_event.thread_duration)
280 self.assertAlmostEqual(0.003, slice_event.thread_duration)
291 self.assertAlmostEqual(0.001, slice2.thread_duration)
[all …]
Dasync_slice.py14 thread_start=None, thread_duration=None): argument
16 category, name, timestamp, duration, thread_start, thread_duration,
Dcounter.py40 def thread_duration(self): member in CounterSample
Dtrace_event_importer.py350 async_slice.thread_duration = ((event['tts'] / 1000.0)
374 sub_slice.thread_duration = \
/external/chromium_org/tools/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)
81 end_thread=renderer_main, thread_start=30, thread_duration=30)
113 end_thread=renderer_main, thread_start=30, thread_duration=30)
135 end_thread=renderer_main, thread_start=55, thread_duration=75)
Dtimeline_interaction_record.py210 timeline_slice.thread_duration / float(timeline_slice.duration))
212 self._async_event.thread_duration / float(self._async_event.duration))
Dtimeline_based_measurement_unittest.py39 thread_start=5, thread_duration=15))
44 thread_start=25, thread_duration=5))
/external/chromium_org/tools/perf/metrics/
Dtimeline.py110 event.thread_duration):
111 return event.thread_duration
157 if x.thread_duration == None:
163 cpu_duration += x.thread_duration
/external/chromium_org/tools/telemetry/telemetry/web_perf/metrics/
Dmainthread_jank_stats_unittest.py21 thread_duration=thread_end - thread_start)
Drendering_stats_unittest.py89 timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
129 timestamp, duration=0.0, thread_timestamp=None, thread_duration=None,
/external/chromium_org/base/debug/
Dtrace_event_impl.h140 TimeDelta thread_duration() const { return thread_duration_; }
Dtrace_event_impl.cc728 int64 thread_duration = thread_duration_.ToInternalValue(); in AppendAsJSON() local
729 if (thread_duration != -1) in AppendAsJSON()
730 StringAppendF(out, ",\"tdur\":%" PRId64, thread_duration); in AppendAsJSON()