Home
last modified time | relevance | path

Searched refs:trace_data (Results 1 – 18 of 18) sorted by relevance

/external/chromium-trace/catapult/tracing/tracing/trace_data/
Dtrace_data_unittest.py12 from tracing.trace_data import trace_data
16 d = trace_data.CreateFromRawChromeEvents([{'ph': 'B'}])
17 self.assertTrue(d.HasTracesFor(trace_data.CHROME_TRACE_PART))
20 d = trace_data.CreateFromRawChromeEvents([{'ph': 'B'}])
21 self.assertFalse(d.HasTracesFor(trace_data.CPU_TRACE_DATA))
24 d = trace_data.CreateFromRawChromeEvents([{'ph': 'B'}])
25 ts = d.GetTracesFor(trace_data.CHROME_TRACE_PART)
30 d = trace_data.CreateFromRawChromeEvents([{'ph': 'B'}])
31 ts = d.GetTracesFor(trace_data.CPU_TRACE_DATA)
38 with trace_data.TraceDataBuilder() as builder:
[all …]
/external/chromium-trace/catapult/systrace/systrace/tracing_agents/
Datrace_agent.py205 trace_data = self._collect_trace_data()
206 self._trace_data = self._preprocess_trace_data(trace_data)
284 def _preprocess_trace_data(self, trace_data): argument
292 if trace_data:
293 trace_data = strip_and_decompress_trace(trace_data)
295 if not trace_data:
306 trace_data = fix_missing_tgids(trace_data, pid2_tgid)
309 trace_data = fix_circular_traces(trace_data)
311 return trace_data
332 def strip_and_decompress_trace(trace_data): argument
[all …]
Datrace_agent_unittest.py94 trace_data = atrace_agent.strip_and_decompress_trace(atrace_data_raw)
95 self.assertEqual(atrace_data_stripped, trace_data)
/external/perfetto/src/protozero/filtering/
Dmessage_filter_benchmark.cc25 std::string trace_data; in BM_ProtozeroMessageFilter() local
28 &trace_data); in BM_ProtozeroMessageFilter()
29 PERFETTO_CHECK(!trace_data.empty()); in BM_ProtozeroMessageFilter()
40 auto res = filt.FilterMessage(trace_data.data(), trace_data.size()); in BM_ProtozeroMessageFilter()
45 static_cast<int64_t>(state.iterations() * trace_data.size())); in BM_ProtozeroMessageFilter()
/external/chromium-trace/catapult/systrace/systrace/
Doutput_generator.py15 from tracing.trace_data import trace_data
25 'androidProcessDump': trace_data.ANDROID_PROCESS_DATA_PART,
26 'atraceProcessDump': trace_data.ATRACE_PROCESS_DUMP_PART,
27 'systemTraceEvents': trace_data.ATRACE_PART,
28 'systraceController': trace_data.TELEMETRY_PART,
29 'traceEvents': trace_data.CHROME_TRACE_PART,
30 'waltTrace': trace_data.WALT_TRACE_PART,
31 'cgroupDump': trace_data.CGROUP_TRACE_PART,
37 with trace_data.TraceDataBuilder() as builder:
Doutput_generator_unittest.py17 from tracing.trace_data import trace_data as trace_data_module
61 trace_data = (html_output.split(
68 self.assertEquals(trace_data, atrace_data)
/external/perfetto/examples/sdk/
Dexample_custom_data_source.cc78 std::vector<char> trace_data(tracing_session->ReadTraceBlocking()); in StopTracing() local
86 output.write(&trace_data[0], trace_data.size()); in StopTracing()
Dexample.cc57 std::vector<char> trace_data(tracing_session->ReadTraceBlocking()); in StopTracing() local
64 output.write(&trace_data[0], trace_data.size()); in StopTracing()
/external/chromium-trace/catapult/systrace/profile_chrome/
Dfake_agent_2.py31 trace_data = open(self._PullTrace()).read()
32 return trace_result.TraceResult('fakeDataTwo', trace_data)
Dfake_agent_1.py32 trace_data = open(self._PullTrace()).read()
33 return trace_result.TraceResult('fakeData', trace_data)
Dddms_tracing_agent.py57 trace_data = f.read()
58 return trace_result.TraceResult('ddms', trace_data)
Dchrome_startup_tracing_agent.py98 trace_data = f.read()
99 return trace_result.TraceResult('traceEvents', trace_data)
Dchrome_tracing_agent.py111 trace_data = f.read()
112 return trace_result.TraceResult('traceEvents', trace_data)
Dperf_tracing_agent.py144 trace_data = f.read()
145 return trace_result.TraceResult('perf', trace_data)
/external/OpenCSD/decoder/tests/source/
Dc_api_pkt_print_test.c960 FILE *trace_data; in main() local
983 trace_data = fopen(trace_file_path,"rb"); in main()
985 if(trace_data != NULL) in main()
1016 ret = process_trace_data(trace_data); in main()
1019 fclose(trace_data); in main()
/external/perfetto/test/stress_test/
Dstress_test.cc286 std::string trace_data; in ReadbackTrace() local
287 PERFETTO_CHECK(base::ReadFileDescriptor(*fd, &trace_data)); in ReadbackTrace()
288 const auto* const start = reinterpret_cast<const uint8_t*>(trace_data.data()); in ReadbackTrace()
/external/angle/src/tests/capture_replay_tests/
DBUILD.gn36 foreach(_trace_data, trace_data) {
/external/perfetto/docs/instrumentation/
Dtracing-sdk.md366 std::vector<char> trace_data(tracing_session->ReadTraceBlocking());
371 output.write(&trace_data[0], trace_data.size());