diff options
| author | 2020-02-03 18:16:16 -0800 | |
|---|---|---|
| committer | 2020-02-03 18:16:16 -0800 | |
| commit | 9b83584b4e581d61348979a272f81b362548ac67 (patch) | |
| tree | f2c09d4196d1732e2e09d216c12df790b48084a3 | |
| parent | 20a6ee25857178a120aa91a3875ad8854c0b4426 (diff) | |
GpuService: clean up some unused codes
Test: build, flash and boot
Change-Id: I3e138a64557fde62c5ec806a040bd3a728feb937
| -rw-r--r-- | services/gpuservice/GpuService.h | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/services/gpuservice/GpuService.h b/services/gpuservice/GpuService.h index b3dc2e2718..525fb4fada 100644 --- a/services/gpuservice/GpuService.h +++ b/services/gpuservice/GpuService.h @@ -25,22 +25,11 @@ #include <mutex> #include <vector> -#include <unordered_map> namespace android { class GpuStats; -struct MemoryStruct { - int64_t gpuMemory; - int64_t mappedMemory; - int64_t ionMemory; -}; - -// A map that keeps track of how much memory of each type is allocated by every process. -// Format: map[pid][memoryType] = MemoryStruct()' -using GpuMemoryMap = std::unordered_map<int32_t, std::unordered_map<std::string, MemoryStruct>>; - class GpuService : public BnGpuService, public PriorityDumper { public: static const char* const SERVICE_NAME ANDROID_API; @@ -82,8 +71,6 @@ private: status_t doDump(int fd, const Vector<String16>& args, bool asProto); - status_t getQCommGpuMemoryInfo(GpuMemoryMap* memories, std::string* result, int32_t dumpPid) const; - /* * Attributes */ |