Home
last modified time | relevance | path

Searched refs:mGpuMem (Results 1 – 7 of 7) sorted by relevance

/frameworks/native/services/gpuservice/tests/unittests/
DTestableGpuMem.h27 explicit TestableGpuMem(GpuMem *gpuMem) : mGpuMem(gpuMem) {} in TestableGpuMem()
29 void setInitialized() { mGpuMem->mInitialized.store(true); } in setInitialized()
32 mGpuMem->setGpuMemTotalMap(map); in setGpuMemTotalMap()
35 std::string getGpuMemTraceGroup() { return mGpuMem->kGpuMemTraceGroup; } in getGpuMemTraceGroup()
37 std::string getGpuMemTotalTracepoint() { return mGpuMem->kGpuMemTotalTracepoint; } in getGpuMemTotalTracepoint()
39 std::string getGpuMemTotalProgPath() { return mGpuMem->kGpuMemTotalProgPath; } in getGpuMemTotalProgPath()
41 std::string getGpuMemTotalMapPath() { return mGpuMem->kGpuMemTotalMapPath; } in getGpuMemTotalMapPath()
44 GpuMem *mGpuMem;
DGpuMemTest.cpp65 mGpuMem = std::make_unique<GpuMem>(); in SetUp()
66 mTestableGpuMem = TestableGpuMem(mGpuMem.get()); in SetUp()
78 mGpuMem->dump(args, &result); in dumpsys()
82 std::unique_ptr<GpuMem> mGpuMem; member in android::__anon1c05cfb80111::GpuMemTest
146 mGpuMem->traverseGpuMemTotals([](int64_t, uint32_t gpuId, uint32_t pid, uint64_t size) { in TEST_F()
DGpuMemTracerTest.cpp62 mGpuMem = std::make_shared<GpuMem>(); in SetUp()
64 mGpuMemTracer->initializeForTest(mGpuMem); in SetUp()
65 mTestableGpuMem = TestableGpuMem(mGpuMem.get()); in SetUp()
92 std::shared_ptr<GpuMem> mGpuMem; member in android::GpuMemTracerTest
/frameworks/native/services/gpuservice/tracing/
DGpuMemTracer.cpp42 mGpuMem = gpuMem; in initialize()
54 mGpuMem = gpuMem; in initializeForTest()
105 if (!mGpuMem->isInitialized()) { in traceInitialCounters()
110 mGpuMem->traverseGpuMemTotals([](int64_t ts, uint32_t gpuId, uint32_t pid, uint64_t size) { in traceInitialCounters()
/frameworks/native/services/gpuservice/
DGpuService.cpp59 : mGpuMem(std::make_shared<GpuMem>()), in GpuService()
65 mGpuMem->initialize(); in GpuService()
66 mGpuMemTracer->initialize(mGpuMem); in GpuService()
75 mGpuMem->stop(); in ~GpuService()
206 mGpuMem->dump(args, &result); in doDump()
/frameworks/native/services/gpuservice/tracing/include/tracing/
DGpuMemTracer.h80 std::shared_ptr<GpuMem> mGpuMem; variable
/frameworks/native/services/gpuservice/include/gpuservice/
DGpuService.h91 std::shared_ptr<GpuMem> mGpuMem; variable