/external/chromium-trace/catapult/telemetry/telemetry/timeline/ |
trace_data_unittest.py | 9 from telemetry.timeline import trace_data 13 ri = trace_data.TraceData({'traceEvents': [1, 2, 3]}) 24 with self.assertRaises(trace_data.NonSerializableTraceData): 25 trace_data.TraceData({'hello': TraceDataTest}) 31 with self.assertRaises(trace_data.NonSerializableTraceData): 32 trace_data.TraceData(d) 36 d = trace_data.TraceData([]) 37 self.assertFalse(d.HasEventsFor(trace_data.CHROME_TRACE_PART)) 40 d = trace_data.TraceData('') 41 self.assertFalse(d.HasEventsFor(trace_data.CHROME_TRACE_PART) [all...] |
model_unittest.py | 8 from telemetry.timeline import trace_data 13 model_module.TimelineModel(trace_data.TraceData()) 16 builder = trace_data.TraceDataBuilder() 17 builder.AddEventsTo(trace_data.CHROME_TRACE_PART, [
|
importer.py | 8 def __init__(self, model, trace_data, import_order): 10 self._trace_data = trace_data
|
surface_flinger_importer.py | 6 from telemetry.timeline import trace_data as trace_data_module 9 def __init__(self, model, trace_data): 11 model, trace_data, import_order=2) 12 self._events = trace_data.GetEventsFor(
|
tab_id_importer.py | 8 from telemetry.timeline import trace_data as trace_data_module 15 def __init__(self, model, trace_data): 20 trace_data, 22 self._trace_data = trace_data
|
trace_event_importer_unittest.py | 11 from telemetry.timeline import trace_data as trace_data_module 38 trace_data = trace_data_module.TraceData(events) 39 m = timeline_model.TimelineModel(trace_data) 90 trace_data = trace_data_module.TraceData(events) 91 m = timeline_model.TimelineModel(trace_data) 107 trace_data = trace_data_module.TraceData(events) 108 m = timeline_model.TimelineModel(trace_data) 133 trace_data = trace_data_module.TraceData(events) 134 m = timeline_model.TimelineModel(trace_data, shift_world_to_zero=False) 173 trace_data = trace_data_module.TraceData(events [all...] |
inspector_importer.py | 9 from telemetry.timeline import trace_data as trace_data_module 13 def __init__(self, model, trace_data): 15 trace_data, 17 self._events = trace_data.GetEventsFor(
|
inspector_importer_unittest.py | 8 from telemetry.timeline import trace_data 113 builder = trace_data.TraceDataBuilder() 115 trace_data.INSPECTOR_TRACE_PART, [{ 134 builder = trace_data.TraceDataBuilder() 135 builder.AddEventsTo(trace_data.INSPECTOR_TRACE_PART,
|
model.py | 21 from telemetry.timeline import trace_data as trace_data_module 53 def __init__(self, trace_data=None, shift_world_to_zero=True): 57 trace_data: trace_data.TraceData containing events to import 74 if trace_data is not None: 75 self.ImportTraces(trace_data, shift_world_to_zero=shift_world_to_zero) 139 def ImportTraces(self, trace_data, shift_world_to_zero=True): 142 trace_data must be an instance of TraceData. 149 assert isinstance(trace_data, trace_data_module.TraceData) 151 importers = self._CreateImporters(trace_data) [all...] |
tab_id_importer_unittest.py | 9 from telemetry.timeline import trace_data as trace_data_module
|
/external/chromium-trace/catapult/systrace/profile_chrome/ |
systrace_controller.py | 84 trace_data = [] 90 trace_data.append( 93 trace_data.append( 97 self._trace_data = ''.join([zlib.decompress(d) for d in trace_data]) 100 def _DecodeTraceData(trace_data): 102 trace_start = trace_data.index('TRACE:') 105 trace_data = trace_data[trace_start + 6:] 108 if trace_data.startswith('\r\n'): 109 trace_data = trace_data.replace('\r\n', '\n' [all...] |
/external/chromium-trace/catapult/tracing/tracing_build/ |
trace2html.py | 89 for trace_data in trace_data_list: 94 if not isinstance(trace_data, basestring): 95 trace_data = json.dumps(trace_data) 99 scripts.append(ViewerDataScript(trace_data, mime_type)) 108 trace_data = f.read() 110 trace_data = json.loads(trace_data) 113 trace_data_list.append(trace_data)
|
/external/chromium-trace/catapult/systrace/systrace/agents/ |
atrace_agent.py | 94 trace_data = self._collect_trace_data() 96 self._trace_data = self._preprocess_trace_data(trace_data) 188 trace_data = [] 218 trace_data.append(chunk) 276 return trace_data 278 def _preprocess_trace_data(self, trace_data): 282 trace_data: The raw trace data. 286 trace_data = ''.join(trace_data) 287 if trace_data [all...] |
atrace_agent_unittest.py | 81 trace_data = atrace_agent.strip_and_decompress_trace(atrace_data_raw) 82 self.assertEqual(atrace_data_stripped, trace_data) 94 trace_data = atrace_agent.fix_thread_names( 96 self.assertEqual(atrace_data_thread_fixed, trace_data) 106 trace_data = agent._preprocess_trace_data(atrace_data_raw) 108 self.assertEqual(atrace_data, trace_data)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/tracing_agent/ |
display_tracing_agent.py | 6 from telemetry.timeline import trace_data 26 trace_data.SURFACE_FLINGER_PART, surface_flinger_trace_data)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/platform/profiler/ |
trace_profiler.py | 10 from telemetry.timeline import trace_data as trace_data_module 48 trace_data = StringIO.StringIO() 49 trace_result.Serialize(trace_data) 51 z.writestr(trace_name, trace_data.getvalue())
|
android_systrace_profiler.py | 13 from telemetry.timeline import trace_data as trace_data_module
|
/external/chromium-trace/catapult/telemetry/telemetry/core/ |
tracing_controller_unittest.py | 71 trace_data = tracing_controller.StopTracing() 73 model = model_module.TimelineModel(trace_data) 84 trace_data = tracing_controller.StopTracing() 86 model_module.TimelineModel(trace_data) 119 trace_data = tracing_controller.StopTracing() 123 model = model_module.TimelineModel(trace_data) 163 trace_data = platform.tracing_controller.StopTracing() 165 model_module.TimelineModel(trace_data)
|
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
trace_unittest.py | 13 from telemetry.timeline import trace_data 68 v = trace.TraceValue(self.pages[0], trace_data.TraceData({'test': 1}), 76 v = trace.TraceValue(None, trace_data.TraceData({'test': 1})) 91 v = trace.TraceValue(None, trace_data.TraceData({'test': 1})) 117 with trace.TraceValue(None, trace_data.TraceData({'test': 1})): 122 v = trace.TraceValue(None, trace_data.TraceData({'test': 1}))
|
trace.py | 17 from telemetry.timeline import trace_data as trace_data_module 24 def __init__(self, page, trace_data, important=False, description=None): 35 self._temp_file = self._GetTempFileHandle(trace_data) 39 def _GetTempFileHandle(self, trace_data): 46 [trace_data.GetEventsFor(trace_data_module.CHROME_TRACE_PART)],
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/backends/chrome_inspector/ |
tracing_backend_unittest.py | 63 trace_data = self._tracing_controller.StopTracing() 69 model = model_module.TimelineModel(trace_data) 90 trace_data = self._tracing_controller.StopTracing() 96 model = model_module.TimelineModel(trace_data)
|
devtools_client_backend_unittest.py | 8 from telemetry.timeline import trace_data 90 builder = trace_data.TraceDataBuilder()
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
action_runner_unittest.py | 19 def GetInteractionRecords(self, trace_data): 20 timeline_model = model.TimelineModel(trace_data) 40 trace_data = self._browser.platform.tracing_controller.StopTracing() 42 records = self.GetInteractionRecords(trace_data) 46 ' Trace data:\n%s' % repr(trace_data._raw_data))
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/browser/ |
tab_unittest.py | 131 trace_data = self._browser.platform.tracing_controller.StopTracing() 132 timeline_model = model.TimelineModel(trace_data) 165 trace_data = self._browser.platform.tracing_controller.StopTracing() 166 timeline_model = model.TimelineModel(trace_data)
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/results/ |
page_test_results_unittest.py | 12 from telemetry.timeline import trace_data 254 results.AddValue(trace.TraceValue(None, trace_data.TraceData({'test' : 1}))) 258 results.AddValue(trace.TraceValue(None, trace_data.TraceData({'test' : 2}))) 268 v0 = trace.TraceValue(None, trace_data.TraceData({'test': 1})) 269 v1 = trace.TraceValue(None, trace_data.TraceData({'test': 2})) 285 v0 = trace.TraceValue(None, trace_data.TraceData({'test': 1})) 286 v1 = trace.TraceValue(None, trace_data.TraceData({'test': 2}))
|