Home
last modified time | relevance | path

Searched refs:ReadMemInfo (Results 1 – 5 of 5) sorted by relevance

/system/core/libmeminfo/include/meminfo/
Dsysmeminfo.h52 bool ReadMemInfo(const std::string& path = "/proc/meminfo");
53 bool ReadMemInfo(const std::vector<std::string>& tags, std::vector<uint64_t>* out,
55 bool ReadMemInfo(std::vector<uint64_t>* out, const std::string& path = "/proc/meminfo");
83 bool ReadMemInfo(const std::vector<std::string>& tags, const std::string& path,
/system/core/libmeminfo/
Dsysmeminfo.cpp56 bool SysMemInfo::ReadMemInfo(const std::string& path) { in ReadMemInfo() function in android::meminfo::SysMemInfo
57 return ReadMemInfo(SysMemInfo::kDefaultSysMemInfoTags, path, in ReadMemInfo()
61 bool SysMemInfo::ReadMemInfo(std::vector<uint64_t>* out, const std::string& path) { in ReadMemInfo() function in android::meminfo::SysMemInfo
62 return ReadMemInfo(SysMemInfo::kDefaultSysMemInfoTags, out, path); in ReadMemInfo()
65 bool SysMemInfo::ReadMemInfo(const std::vector<std::string>& tags, std::vector<uint64_t>* out, in ReadMemInfo() function in android::meminfo::SysMemInfo
70 return ReadMemInfo(tags, path, [&]([[maybe_unused]] const std::string& tag, uint64_t val) { in ReadMemInfo()
89 bool SysMemInfo::ReadMemInfo(const std::vector<std::string>& tags, const std::string& path) {
122 bool SysMemInfo::ReadMemInfo(const std::vector<std::string>& tags, const std::string& path, in ReadMemInfo() function in android::meminfo::SysMemInfo
Dlibmeminfo_benchmark.cpp232 smi.ReadMemInfo(tags, &mem, file); in BM_ReadMemInfo_new()
400 smi.ReadMemInfo(tags, &mem, file); in BM_MemInfoWithZram_new()
Dlibmeminfo_test.cpp457 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
481 EXPECT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
572 EXPECT_TRUE(mi.ReadMemInfo(tags, &mem, file)); in TEST()
/system/core/libmeminfo/tools/
Dprocrank.cpp440 if (!smi.ReadMemInfo()) { in main()