Home
last modified time | relevance | path

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

/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dget_ram_info.cpp102 uint64_t GetRamInfo::GetUsedRam(const GroupMap &smapsInfo, const ValueMap &meminfo, Ram &ram) const in GetUsedRam() argument
105 ram.kernelUsed = GetKernelUsedInfo(meminfo); in GetUsedRam()
110 uint64_t GetRamInfo::GetFreeRam(const ValueMap &meminfo, Ram &ram) const in GetFreeRam() argument
112 ram.cachedInfo = GetCachedInfo(meminfo); in GetFreeRam()
113 ram.freeInfo = GetFreeInfo(meminfo); in GetFreeRam()
118 uint64_t GetRamInfo::GetLostRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const in GetLostRam()
120 … uint64_t totalValue = GetTotalRam(meminfo) - (GetTotalPss(smapsInfo) - GetTotalSwapPss(smapsInfo)) in GetLostRam()
121 - GetFreeInfo(meminfo) - GetCachedInfo(meminfo) - GetKernelUsedInfo(meminfo) in GetLostRam()
122 - GetZramTotalInfo(meminfo); in GetLostRam()
126 GetRamInfo::Ram GetRamInfo::GetRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const in GetRam()
[all …]
Dmemory_info.cpp157 MemInfoData::MemInfo meminfo; in CalcGroup() local
158 MemoryUtil::GetInstance().InitMemInfo(meminfo); in CalcGroup()
164 method.second(meminfo, it->second); in CalcGroup()
173 SetValue(to_string(meminfo.pss + meminfo.swapPss), lines, values); in CalcGroup()
174 SetValue(to_string(meminfo.sharedClean), lines, values); in CalcGroup()
175 SetValue(to_string(meminfo.sharedDirty), lines, values); in CalcGroup()
176 SetValue(to_string(meminfo.privateClean), lines, values); in CalcGroup()
177 SetValue(to_string(meminfo.privateDirty), lines, values); in CalcGroup()
178 SetValue(to_string(meminfo.swap), lines, values); in CalcGroup()
179 SetValue(to_string(meminfo.swapPss), lines, values); in CalcGroup()
[all …]
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/
Dmemory_info.h96 void GetRamUsage(const GroupMap &smapsinfos, const ValueMap &meminfo, StringMatrix result);
112 void SetPss(MemInfoData::MemInfo &meminfo, uint64_t value);
113 void SetSharedClean(MemInfoData::MemInfo &meminfo, uint64_t value);
114 void SetSharedDirty(MemInfoData::MemInfo &meminfo, uint64_t value);
115 void SetPrivateClean(MemInfoData::MemInfo &meminfo, uint64_t value);
116 void SetPrivateDirty(MemInfoData::MemInfo &meminfo, uint64_t value);
117 void SetSwap(MemInfoData::MemInfo &meminfo, uint64_t value);
118 void SetSwapPss(MemInfoData::MemInfo &meminfo, uint64_t value);
Dget_ram_info.h42 Ram GetRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const;
54 uint64_t GetUsedRam(const GroupMap &smapsInfo, const ValueMap &meminfo, Ram &ram) const;
55 uint64_t GetFreeRam(const ValueMap &meminfo, Ram &ram) const;
56 uint64_t GetLostRam(const GroupMap &smapsInfo, const ValueMap &meminfo) const;
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/
Dparse_meminfo.h30 bool GetMeminfo(ValueMap &meminfo);
/base/security/selinux/sepolicy/base/system/
Dvirtfs_contexts43 genfscon proc /meminfo u:object_r:proc_meminfo_file:s0