Home
last modified time | relevance | path

Searched refs:GpuMemTracer (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp29 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 …]
DAndroid.bp44 "GpuMemTracer.cpp",
/frameworks/native/services/gpuservice/tracing/include/tracing/
DGpuMemTracer.h31 class GpuMemTracer {
36 std::unique_lock<std::mutex> lock(GpuMemTracer::sTraceMutex); in OnStart()
43 ~GpuMemTracer() = default;
/frameworks/native/services/gpuservice/include/gpuservice/
DGpuService.h38 class GpuMemTracer; variable
94 std::unique_ptr<GpuMemTracer> mGpuMemTracer;
/frameworks/native/services/gpuservice/tests/unittests/
DGpuMemTracerTest.cpp63 mGpuMemTracer = std::make_unique<GpuMemTracer>(); in SetUp()
94 std::unique_ptr<GpuMemTracer> mGpuMemTracer;
/frameworks/native/services/gpuservice/
DGpuService.cpp62 mGpuMemTracer(std::make_unique<GpuMemTracer>()) { in GpuService()