Searched refs:sub_slice (Results 1 – 5 of 5) sorted by relevance
25 def AddSubSlice(self, sub_slice): argument26 assert sub_slice.parent_slice == self27 self.sub_slices.append(sub_slice)30 for sub_slice in self.sub_slices:31 yield sub_slice
27 def AddSubSlice(self, sub_slice): argument28 assert sub_slice.parent_slice == self29 self.sub_slices.append(sub_slice)69 for sub_slice in self.sub_slices:70 for s in sub_slice.GetAllSubSlices():72 yield sub_slice
346 sub_slice = tracing_async_slice.AsyncSlice(350 sub_slice.parent_slice = async_slice352 sub_slice.duration = ((events[j]['event']['ts'] / 1000.0)355 sub_slice.start_thread = events[j - 1]['thread']356 sub_slice.end_thread = events[j]['thread']357 if sub_slice.start_thread == sub_slice.end_thread:360 sub_slice.thread_duration = \364 sub_slice.id = event_id365 sub_slice.args = events[j - 1]['event']['args']367 async_slice.AddSubSlice(sub_slice)
771 sub_slice = parent_slice.sub_slices[0]772 self.assertEqual(1, sub_slice.args['x'])773 self.assertEqual(2, sub_slice.args['y'])795 sub_slice = parent_slice.sub_slices[0]796 self.assertEqual(4, sub_slice.args['z'])821 sub_slice = parent_slice.sub_slices[0]822 self.assertEqual('a', sub_slice.name)823 self.assertEqual('foo', sub_slice.category)824 self.assertAlmostEqual(0, sub_slice.start)825 self.assertAlmostEqual((548 - 524) / 1000.0, sub_slice.duration)[all …]
67 for sub_slice in async_slice.IterEventsInThisContainerRecrusively():68 if event_predicate(sub_slice):69 yield sub_slice