Searched refs:memInfo (Results 1 – 9 of 9) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
D | parse_smaps_rollup_info.cpp | 33 void ParseSmapsRollupInfo::GetValue(const string &str, MemInfoData::MemInfo &memInfo) in GetValue() argument 43 memInfo.rss = value; in GetValue() 53 memInfo.pss = value; in GetValue() 55 memInfo.privateDirty = value; in GetValue() 57 memInfo.privateDirty = value; in GetValue() 67 memInfo.sharedClean = value; in GetValue() 69 memInfo.sharedDirty = value; in GetValue() 71 memInfo.swap = value; in GetValue() 73 memInfo.swapPss = value; in GetValue() 78 bool ParseSmapsRollupInfo::GetMemInfo(const int &pid, MemInfoData::MemInfo &memInfo) in GetMemInfo() argument [all …]
|
/base/hiviewdfx/hidumper/interfaces/innerkits/ |
D | dump_usage.cpp | 31 void DumpUsage::InitMemInfo(MemInfoData::MemInfo &memInfo) in InitMemInfo() argument 33 memInfo.rss = 0; in InitMemInfo() 34 memInfo.pss = 0; in InitMemInfo() 35 memInfo.sharedClean = 0; in InitMemInfo() 36 memInfo.sharedDirty = 0; in InitMemInfo() 37 memInfo.privateClean = 0; in InitMemInfo() 38 memInfo.privateDirty = 0; in InitMemInfo() 39 memInfo.swap = 0; in InitMemInfo() 40 memInfo.swapPss = 0; in InitMemInfo()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_util.cpp | 119 void MemoryUtil::InitMemInfo(MemInfoData::MemInfo &memInfo) in InitMemInfo() argument 121 memInfo.rss = 0; in InitMemInfo() 122 memInfo.pss = 0; in InitMemInfo() 123 memInfo.sharedClean = 0; in InitMemInfo() 124 memInfo.sharedDirty = 0; in InitMemInfo() 125 memInfo.privateClean = 0; in InitMemInfo() 126 memInfo.privateDirty = 0; in InitMemInfo() 127 memInfo.swap = 0; in InitMemInfo() 128 memInfo.swapPss = 0; in InitMemInfo()
|
D | memory_info.cpp | 524 MemInfoData::MemInfo memInfo; in GetMemByProcessPid() local 526 if (getSmapsRollup->GetMemInfo(pid, memInfo)) { in GetMemByProcessPid() 528 usage.uss = memInfo.privateClean + memInfo.privateDirty; in GetMemByProcessPid() 529 usage.rss = memInfo.rss; in GetMemByProcessPid() 530 usage.pss = memInfo.pss; in GetMemByProcessPid() 531 usage.swapPss = memInfo.swapPss; in GetMemByProcessPid()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/ |
D | parse_smaps_rollup_info.h | 28 bool GetMemInfo(const int &pid, MemInfoData::MemInfo &memInfo); 31 void GetValue(const std::string &str, MemInfoData::MemInfo &memInfo);
|
/base/update/updater/test/unittest/diffpatch/ |
D | bzip2_unittest.cpp | 210 MemMapInfo memInfo {}; in DeflateAdapterTest() local 211 int32_t ret = PatchMapFile(TEST_PATH_FROM + fileName, memInfo); in DeflateAdapterTest() 217 ret = CompressData(info, {memInfo.memory, memInfo.length}, outData1, dataSize1); in DeflateAdapterTest() 220 info->unpackedSize = memInfo.length; in DeflateAdapterTest() 234 while (offset < memInfo.length) { in DeflateAdapterTest() 235 size_t writeSize = (memInfo.length > (offset + DeflateAdapter::BUFFER_SIZE)) ? in DeflateAdapterTest() 236 DeflateAdapter::BUFFER_SIZE : (memInfo.length - offset); in DeflateAdapterTest() 237 BlockBuffer data = {memInfo.memory + offset, writeSize}; in DeflateAdapterTest()
|
/base/hiviewdfx/hidumper/interfaces/innerkits/include/ |
D | dump_usage.h | 33 void InitMemInfo(MemInfoData::MemInfo &memInfo);
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
D | memory_util.h | 44 void InitMemInfo(MemInfoData::MemInfo &memInfo);
|
D | memory_info.h | 106 static void InitMemInfo(MemInfoData::MemInfo &memInfo);
|