Home
last modified time | relevance | path

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

/system/core/libmeminfo/include/meminfo/
Dpageacct.h30 class PageAcct final {
45 static PageAcct& Instance() { in Instance()
46 static PageAcct instance; in Instance()
50 ~PageAcct() = default;
53 PageAcct() : kpagecount_fd_(-1), kpageflags_fd_(-1), pageidle_fd_(-1) {} in PageAcct() function
58 PageAcct(const PageAcct&) = delete;
59 PageAcct& operator=(const PageAcct&) = delete;
60 PageAcct& operator=(PageAcct&&) = delete;
61 PageAcct(PageAcct&&) = delete;
/system/core/libmeminfo/
Dpageacct.cpp40 bool PageAcct::InitPageAcct(bool pageidle_enable) { in InitPageAcct()
41 if (pageidle_enable && !PageAcct::KernelHasPageIdle()) { in InitPageAcct()
77 bool PageAcct::PageFlags(uint64_t pfn, uint64_t* flags) { in PageFlags()
91 bool PageAcct::PageMapCount(uint64_t pfn, uint64_t* mapcount) { in PageMapCount()
105 int PageAcct::IsPageIdle(uint64_t pfn) { in IsPageIdle()
116 int PageAcct::MarkPageIdle(uint64_t pfn) const { in MarkPageIdle()
129 int PageAcct::GetPageIdle(uint64_t pfn) const { in GetPageIdle()
Dprocmeminfo.cpp280 PageAcct& pinfo = PageAcct::Instance(); in ReadVmaStats()
/system/core/libmeminfo/tools/
Dwsstop.cpp213 if (!::android::meminfo::PageAcct::KernelHasPageIdle()) { in main()