Lines Matching refs:GpuMemTracer
29 PERFETTO_DEFINE_DATA_SOURCE_STATIC_MEMBERS(android::GpuMemTracer::GpuMemDataSource);
33 std::mutex GpuMemTracer::sTraceMutex;
34 std::condition_variable GpuMemTracer::sCondition;
35 bool GpuMemTracer::sTraceStarted;
37 void GpuMemTracer::initialize(std::shared_ptr<GpuMem> gpuMem) { in initialize()
47 std::thread tracerThread(&GpuMemTracer::threadLoop, this, true); in initialize()
53 void GpuMemTracer::initializeForTest(std::shared_ptr<GpuMem> gpuMem) { in initializeForTest()
59 std::thread tracerThread(&GpuMemTracer::threadLoop, this, false); in initializeForTest()
66 std::unique_ptr<perfetto::TracingSession> GpuMemTracer::getTracingSessionForTest() { in getTracingSessionForTest()
71 ds_cfg->set_name(GpuMemTracer::kGpuMemDataSource); in getTracingSessionForTest()
78 void GpuMemTracer::registerDataSource() { in registerDataSource()
84 void GpuMemTracer::threadLoop(bool infiniteLoop) { in threadLoop()
87 std::unique_lock<std::mutex> lock(GpuMemTracer::sTraceMutex); in threadLoop()
94 std::lock_guard<std::mutex> lock(GpuMemTracer::sTraceMutex); in threadLoop()
104 void GpuMemTracer::traceInitialCounters() { in traceInitialCounters()