timeline_based_measurement_unittest.py | 21 def AddResults(self, model, renderer_thread, interaction_records, results): 33 def AddResults(self, model, renderer_thread, interaction_records, results): 45 def AddResults(self, model, renderer_thread, interaction_records, results): 75 def renderer_thread(self): member in class:TimelineBasedMetricTestData 136 # Insert 2 interaction records to renderer_thread and 1 to foo_thread 137 d.AddInteraction(d.renderer_thread, ts=0, duration=20, 139 d.AddInteraction(d.renderer_thread, ts=25, duration=5, 147 # Assert the 2 interaction records of renderer_thread are in the map. 148 self.assertIn(d.renderer_thread, d.threads_to_records_map) 149 interactions = d.threads_to_records_map[d.renderer_thread] [all...] |