Searched refs:MemoryFilter (Results 1 – 10 of 10) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/ |
D | memory_filter.cpp | 22 MemoryFilter::MemoryFilter() in MemoryFilter() function in OHOS::HiviewDFX::MemoryFilter 25 MemoryFilter::~MemoryFilter() in ~MemoryFilter() 29 void MemoryFilter::ParseMemoryGroup(const string &name, string &group, uint64_t iNode) in ParseMemoryGroup() 42 bool MemoryFilter::GetGroupFromMap(const string &name, string &group, in GetGroupFromMap()
|
D | get_ram_info.cpp | 62 uint64_t totalValue = GetGroupMapValue(infos, MemoryFilter::GetInstance().CALC_TOTAL_PSS_); in GetTotalPss() 68 uint64_t totalValue = GetGroupMapValue(infos, MemoryFilter::GetInstance().CALC_TOTAL_SWAP_PSS_); in GetTotalSwapPss() 74 uint64_t totalValue = GetValueMapValue(infos, MemoryFilter::GetInstance().CALC_FREE_); in GetFreeInfo() 80 uint64_t totalValue = GetValueMapValue(infos, MemoryFilter::GetInstance().CALC_KERNEL_USED_); in GetKernelUsedInfo() 86 uint64_t totalValue = GetValueMapValue(infos, MemoryFilter::GetInstance().CALC_CACHED_); in GetCachedInfo() 92 uint64_t totalValue = GetValueMapValue(infos, MemoryFilter::GetInstance().CALC_TOTAL_); in GetTotalRam() 98 uint64_t totalValue = GetValueMapValue(infos, MemoryFilter::GetInstance().CALC_ZARM_TOTAL_); in GetZramTotalInfo()
|
D | memory_info.cpp | 94 for (string str : MemoryFilter::GetInstance().TITLE_HAS_PID_) { in insertMemoryTitle() 124 …group = pageTag[0] == MemoryFilter::GetInstance().FILE_PAGE_TAG ? "FilePage other" : "AnonPage oth… in BuildResult() 132 for (const auto &tag : MemoryFilter::GetInstance().VALUE_WITH_PID) { in BuildResult() 194 for (const auto &memTrackerType : MemoryFilter::GetInstance().MEMORY_TRACKER_TYPES) { in GetGraphicsMemory() 220 if (!parseSmapsInfo->GetInfo(MemoryFilter::APPOINT_PID, pid, groupMap)) { in GetMemoryInfoByPid() 250 return parseSmapsInfo->GetInfo(MemoryFilter::NOT_SPECIFIED_PID, pid, result); in GetSmapsInfoNoPid() 336 for (const auto &str : MemoryFilter::GetInstance().CALC_PSS_TOTAL_) { in GetPssTotal() 343 if (pageTag[0] == MemoryFilter::GetInstance().FILE_PAGE_TAG) { in GetPssTotal() 349 PairToStringMatrix(MemoryFilter::GetInstance().FILE_PAGE_TAG, filePage, result); in GetPssTotal() 350 PairToStringMatrix(MemoryFilter::GetInstance().ANON_PAGE_TAG, anonPage, result); in GetPssTotal() [all …]
|
D | get_process_info.cpp | 38 for (const auto &str : MemoryFilter::GetInstance().CALC_PROCESS_TOTAL_) { in GetProcess()
|
D | get_kernel_info.cpp | 39 for (const auto &str : MemoryFilter::GetInstance().CALC_KERNEL_TOTAL_) { in GetKernel()
|
D | get_hardware_info.cpp | 153 … MemoryUtil::GetInstance().GetMaxThreadNum(MemoryFilter::GetInstance().HARDWARE_USAGE_THREAD_NUM_); in GetHardwareUsage()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/ |
D | memory_filter.h | 27 class MemoryFilter : public Singleton<MemoryFilter> { 29 MemoryFilter(); 30 ~MemoryFilter(); 31 MemoryFilter(MemoryFilter const &) = delete; 32 void operator=(MemoryFilter const &) = delete;
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/parse/ |
D | parse_smaps_info.cpp | 72 bool ParseSmapsInfo::GetValue(const MemoryFilter::MemoryType &memType, const string &str, string &t… in GetValue() 74 if (memType == MemoryFilter::MemoryType::APPOINT_PID) { in GetValue() 88 bool ParseSmapsInfo::GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &res… in GetInfo() 109 MemoryFilter::GetInstance().ParseMemoryGroup(name, memGroup_, iNode); in GetInfo()
|
D | parse_meminfo.cpp | 44 …if (MemoryUtil::GetInstance().GetTypeValue(str, MemoryFilter::GetInstance().MEMINFO_TAG_, type, va… in SetData()
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/memory/parse/ |
D | parse_smaps_info.h | 31 bool GetInfo(const MemoryFilter::MemoryType &memType, const int &pid, GroupMap &result); 36 …bool GetValue(const MemoryFilter::MemoryType &memType, const std::string &str, std::string &type, …
|