Home
last modified time | relevance | path

Searched refs:FrameTracer (Results 1 – 10 of 10) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/mock/
DMockFrameTracer.cpp23 FrameTracer::FrameTracer() = default;
24 FrameTracer::~FrameTracer() = default;
DMockFrameTracer.h26 class FrameTracer : public android::FrameTracer {
28 FrameTracer();
29 ~FrameTracer();
/frameworks/native/services/surfaceflinger/FrameTracer/
DFrameTracer.cpp33 PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS(android::FrameTracer::FrameTracerDataSource);
38 void FrameTracer::initialize() { in initialize()
47 void FrameTracer::registerDataSource() { in registerDataSource()
53 void FrameTracer::traceNewLayer(int32_t layerId, const std::string& layerName) { in traceNewLayer()
62 void FrameTracer::traceTimestamp(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceTimestamp()
80 void FrameTracer::traceFence(int32_t layerId, uint64_t bufferID, uint64_t frameNumber, in traceFence()
108 void FrameTracer::tracePendingFencesLocked(FrameTracerDataSource::TraceContext& ctx, in tracePendingFencesLocked()
135 void FrameTracer::traceLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceLocked()
159 void FrameTracer::traceSpanLocked(FrameTracerDataSource::TraceContext& ctx, int32_t layerId, in traceSpanLocked()
172 void FrameTracer::onDestroy(int32_t layerId) { in onDestroy()
[all …]
DFrameTracer.h28 class FrameTracer {
40 ~FrameTracer() = default;
/frameworks/native/services/surfaceflinger/tests/unittests/
DFrameTracerTest.cpp61 mFrameTracer = std::make_unique<FrameTracer>(); in SetUp()
73 ds_cfg->set_name(FrameTracer::kFrameTracerDataSource); in getTracingSessionForTest()
80 std::unique_ptr<FrameTracer> mFrameTracer;
139 const auto type = FrameTracer::FrameEvent::POST; in TEST_F()
150 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
167 mFrameTracer->traceTimestamp(layerId, 0, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
201 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
214 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
231 mFrameTracer->traceTimestamp(layerId, bufferID, 0, 0, FrameTracer::FrameEvent::UNSPECIFIED); in TEST_F()
264 const auto type = FrameTracer::FrameEvent::ACQUIRE_FENCE; in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DBufferQueueLayer.cpp57 FrameTracer::FrameEvent::RELEASE_FENCE); in onLayerDisplayed()
329 FrameTracer::FrameEvent::ACQUIRE_FENCE); in updateTexImage()
332 FrameTracer::FrameEvent::LATCH); in updateTexImage()
377 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameDequeued()
378 systemTime(), FrameTracer::FrameEvent::DEQUEUE); in onFrameDequeued()
384 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameDetached()
385 systemTime(), FrameTracer::FrameEvent::DETACH); in onFrameDetached()
390 mFlinger->mFrameTracer->traceTimestamp(layerId, bufferId, FrameTracer::UNSPECIFIED_FRAME_NUMBER, in onFrameCancelled()
391 systemTime(), FrameTracer::FrameEvent::CANCEL); in onFrameCancelled()
397 systemTime(), FrameTracer::FrameEvent::QUEUE); in onFrameAvailable()
[all …]
DAndroid.bp150 "FrameTracer/FrameTracer.cpp",
DBufferLayer.cpp350 FrameTracer::FrameEvent::FALLBACK_COMPOSITION); in onPostComposition()
365 presentFence, FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
377 FrameTracer::FrameEvent::PRESENT_FENCE); in onPostComposition()
DSurfaceFlinger.h99 class FrameTracer; variable
1094 const std::unique_ptr<FrameTracer> mFrameTracer;
DSurfaceFlinger.cpp317 mFrameTracer(std::make_unique<FrameTracer>()), in SurfaceFlinger()