Home
last modified time | relevance | path

Searched refs:tracingSession (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp76 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
77 tracingSession->Setup(cfg); in getTracingSessionForTest()
78 return tracingSession; in getTracingSessionForTest()
82 perfetto::TracingSession* tracingSession) { in readGraphicsFramePacketsBlocking() argument
83 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readGraphicsFramePacketsBlocking()
112 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
113 tracingSession->StartBlocking(); in TEST_F()
119 tracingSession->StopBlocking(); in TEST_F()
130 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
131 tracingSession->StartBlocking(); in TEST_F()
[all …]
DFrameTimelineTest.cpp87 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
88 tracingSession->Setup(cfg); in getTracingSessionForTest()
89 return tracingSession; in getTracingSessionForTest()
93 perfetto::TracingSession* tracingSession) { in readFrameTimelinePacketsBlocking() argument
94 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readFrameTimelinePacketsBlocking()
742 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
759 auto packets = readFrameTimelinePacketsBlocking(tracingSession.get()); in TEST_F()
764 auto tracingSession = getTracingSessionForTest(); in TEST_F() local
769 tracingSession->StartBlocking(); in TEST_F()
786 tracingSession->StopBlocking(); in TEST_F()
[all …]
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp78 perfetto::TracingSession* tracingSession) { in readGpuMemTotalPacketsBlocking() argument
79 std::vector<char> raw_trace = tracingSession->ReadTraceBlocking(); in readGpuMemTotalPacketsBlocking()
132 auto tracingSession = mGpuMemTracer->getTracingSessionForTest(); in TEST_F() local
134 tracingSession->StartBlocking(); in TEST_F()
137 tracingSession->StopBlocking(); in TEST_F()
142 auto packets = readGpuMemTotalPacketsBlocking(tracingSession.get()); in TEST_F()
183 auto tracingSession = mGpuMemTracer->getTracingSessionForTest(); in TEST_F() local
185 tracingSession->StartBlocking(); in TEST_F()
188 tracingSession->StopBlocking(); in TEST_F()
193 auto packets = readGpuMemTotalPacketsBlocking(tracingSession.get()); in TEST_F()
/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp73 auto tracingSession = perfetto::Tracing::NewTrace(perfetto::kInProcessBackend); in getTracingSessionForTest() local
74 tracingSession->Setup(cfg); in getTracingSessionForTest()
75 return tracingSession; in getTracingSessionForTest()
/frameworks/native/services/gpuservice/tracing/include/tracing/
DGpuMemTracer.h67 perfetto::TracingSession* tracingSession);