Home
last modified time | relevance | path

Searched refs:ashmInfoToReclaim (Results 1 – 4 of 4) sorted by relevance

/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/src/purgeable_mem_manager/
H A Dpurgeable_mem_utils.cpp148 …mUtils::GetPurgeableAshmInfo(int &reclaimableKB, std::vector<PurgeableAshmInfo> &ashmInfoToReclaim) in GetPurgeableAshmInfo() argument
160 ashmInfoToReclaim.clear(); in GetPurgeableAshmInfo()
163 ashmInfoToReclaim.emplace_back(value); in GetPurgeableAshmInfo()
168 ashmInfoToReclaim.size()); in GetPurgeableAshmInfo()
H A Dpurgeable_mem_manager.cpp369 … PurgeableMemUtils::GetInstance().GetPurgeableAshmInfo(info.reclaimableKB, info.ashmInfoToReclaim); in GetPurgeableInfo()
490 void PurgeableMemManager::PurgAshmIdOneByOne(std::vector<PurgeableAshmInfo> &ashmInfoToReclaim, in PurgAshmIdOneByOne() argument
493 if (!ashmInfoToReclaim.empty()) { in PurgAshmIdOneByOne()
494 std::sort(ashmInfoToReclaim.begin(), ashmInfoToReclaim.end(), in PurgAshmIdOneByOne()
499 for (auto &it : ashmInfoToReclaim) { in PurgAshmIdOneByOne()
547 PurgAshmIdOneByOne(info.ashmInfoToReclaim, reclaimTargetKB, reclaimResultKB); in PurgeByTypeAndTarget()
/ohos5.0/foundation/resourceschedule/memmgr/services/memmgrservice/include/purgeable_mem_manager/
H A Dpurgeable_mem_manager.h36 std::vector<PurgeableAshmInfo> ashmInfoToReclaim; member
79 …void PurgAshmIdOneByOne(std::vector<PurgeableAshmInfo> &ashmInfoToReclaim, const int reclaimTarget…
H A Dpurgeable_mem_utils.h43 … bool GetPurgeableAshmInfo(int &reclaimableKB, std::vector<PurgeableAshmInfo> &ashmInfoToReclaim);