Searched refs:GpuMemTracer (Results 1 – 6 of 6) sorted by relevance
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()[all …]
44 "GpuMemTracer.cpp",
31 class GpuMemTracer {36 std::unique_lock<std::mutex> lock(GpuMemTracer::sTraceMutex); in OnStart()43 ~GpuMemTracer() = default;
38 class GpuMemTracer; variable94 std::unique_ptr<GpuMemTracer> mGpuMemTracer;
63 mGpuMemTracer = std::make_unique<GpuMemTracer>(); in SetUp()94 std::unique_ptr<GpuMemTracer> mGpuMemTracer;
62 mGpuMemTracer(std::make_unique<GpuMemTracer>()) { in GpuService()