Home
last modified time | relevance | path

Searched refs:GroupMap (Results 1 – 16 of 16) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
Dget_ram_info.h40 using GroupMap = std::map<std::string, ValueMap>; variable
42 Ram GetRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const;
45 uint64_t GetGroupMapValue(const GroupMap &infos, const std::vector<std::string> keys) const;
47 uint64_t GetTotalPss(const GroupMap &infos) const;
48 uint64_t GetTotalSwapPss(const GroupMap &infos) const;
54 uint64_t GetUsedRam(const GroupMap &smapsInfo, const ValueMap &meminfo, Ram &ram) const;
56 uint64_t GetLostRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const;
Dmemory_info.h46 using GroupMap = std::map<std::string, ValueMap>; variable
78 std::future<GroupMap> fut_;
87 void BuildResult(const GroupMap &infos, StringMatrix result);
91 static bool GetSmapsInfoNoPid(const int &pid, GroupMap &result);
96 void GetProcesses(const GroupMap &infos, StringMatrix result);
98 void GetPssTotal(const GroupMap &infos, StringMatrix result);
99 void GetRamUsage(const GroupMap &smapsinfos, const ValueMap &meminfo, StringMatrix result);
100 void GetRamCategory(const GroupMap &smapsinfos, const ValueMap &meminfos, StringMatrix result);
113 void CalcGroup(const GroupMap &infos, StringMatrix result);
Dget_process_info.h29 using GroupMap = std::map<std::string, ValueMap>; variable
30 uint64_t GetProcess(const GroupMap &infos) const;
Dget_heap_info.h33 using GroupMap = std::map<std::string, ValueMap>; variable
34 bool GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &infos);
Dsmaps_memory_info.h48 using GroupMap = std::map<std::string, ValueMap>; variable
61 void BuildSmapsResult(const GroupMap &infos, StringMatrix result, bool isShowSmapsInfo,
64 bool CalcSmapsStatData(MemInfoData::MemSmapsInfo &memSmapsInfo, const GroupMap &infos);
67 …void CalcSmapsGroup(const GroupMap &infos, StringMatrix result, MemInfoData::MemSmapsInfo &memSmap…
Dmemory_util.h34 using GroupMap = std::map<std::string, ValueMap>; variable
43 …lcGroup(const std::string &group, const std::string &type, const uint64_t &value, GroupMap &infos);
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dget_ram_info.cpp29 uint64_t GetRamInfo::GetGroupMapValue(const GroupMap &infos, const vector<string> keys) const in GetGroupMapValue()
60 uint64_t GetRamInfo::GetTotalPss(const GroupMap &infos) const in GetTotalPss()
66 uint64_t GetRamInfo::GetTotalSwapPss(const GroupMap &infos) const in GetTotalSwapPss()
102 uint64_t GetRamInfo::GetUsedRam(const GroupMap &smapsInfo, const ValueMap &meminfo, Ram &ram) const in GetUsedRam()
118 uint64_t GetRamInfo::GetLostRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const in GetLostRam()
126 GetRamInfo::Ram GetRamInfo::GetRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const in GetRam()
Dget_process_info.cpp33 uint64_t GetProcessInfo::GetProcess(const GroupMap &infos) const in GetProcess()
Dsmaps_memory_info.cpp136 void SmapsMemoryInfo::BuildSmapsResult(const GroupMap &infos, StringMatrix result, bool isShowSmaps… in BuildSmapsResult()
167 bool SmapsMemoryInfo::CalcSmapsStatData(MemInfoData::MemSmapsInfo &memSmapsInfo, const GroupMap &in… in CalcSmapsStatData()
195 void SmapsMemoryInfo::CalcSmapsGroup(const GroupMap &infos, StringMatrix result, in CalcSmapsGroup()
226 GroupMap groupMap; in ShowMemorySmapsByPid()
Dmemory_info.cpp136 void MemoryInfo::BuildResult(const GroupMap &infos, StringMatrix result) in BuildResult()
167 void MemoryInfo::CalcGroup(const GroupMap &infos, StringMatrix result) in CalcGroup()
246 GroupMap groupMap; in GetMemoryInfoByPid()
294 bool MemoryInfo::GetSmapsInfoNoPid(const int &pid, GroupMap &result) in GetSmapsInfoNoPid()
354 void MemoryInfo::GetProcesses(const GroupMap &infos, StringMatrix result) in GetProcesses()
369 void MemoryInfo::GetPssTotal(const GroupMap &infos, StringMatrix result) in GetPssTotal()
427 void MemoryInfo::GetRamUsage(const GroupMap &smapsinfos, const ValueMap &meminfo, StringMatrix resu… in GetRamUsage()
463 void MemoryInfo::GetRamCategory(const GroupMap &smapsInfos, const ValueMap &meminfos, StringMatrix … in GetRamCategory()
744 GroupMap groupMap; in GetMemoryInfoNoPid()
785 GroupMap smapsResult = fut_.get(); in DealResult()
Dget_heap_info.cpp41 bool GetHeapInfo::GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &infos) in GetInfo()
Dmemory_util.cpp74 void MemoryUtil::CalcGroup(const string &group, const string &type, const uint64_t &value, GroupMap in CalcGroup()
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
Dparse_smaps_info.h30 using GroupMap = std::map<std::string, ValueMap>; variable
32 bool GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &result);
33 bool ShowSmapsData(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &result,
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_innerkits_test.cpp36 using GroupMap = std::map<std::string, ValueMap>; typedef in OHOS::HiviewDFX::HiDumperInnerkitsTest
234 GroupMap groupMap;
256 GroupMap groupMap;
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dmemory_dumper.h32 using GroupMap = std::map<std::string, ValueMap>; variable
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/
Dparse_smaps_info.cpp99 bool ParseSmapsInfo::GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &res… in GetInfo()
133 …SmapsInfo::ShowSmapsData(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &result, in ShowSmapsData()