Home
last modified time | relevance | path

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

/system/memory/libmeminfo/include/meminfo/
Dsysmeminfo.h78 bool ReadMemInfo(const char* path = "/proc/meminfo");
79 bool ReadMemInfo(size_t ntags, const std::string_view* tags, uint64_t* out,
81 bool ReadMemInfo(std::vector<uint64_t>* out, const char* path = "/proc/meminfo");
122 bool ReadMemInfo(const char* path, size_t ntags, const std::string_view* tags,
/system/memory/libmeminfo/
Dsysmeminfo.cpp53 bool SysMemInfo::ReadMemInfo(const char* path) { in ReadMemInfo() function in android::meminfo::SysMemInfo
54 return ReadMemInfo(path, SysMemInfo::kDefaultSysMemInfoTags.size(), in ReadMemInfo()
65 bool SysMemInfo::ReadMemInfo(std::vector<uint64_t>* out, const char* path) { in ReadMemInfo() function in android::meminfo::SysMemInfo
68 return ReadMemInfo(SysMemInfo::kDefaultSysMemInfoTags.size(), in ReadMemInfo()
72 bool SysMemInfo::ReadMemInfo(size_t ntags, const std::string_view* tags, uint64_t* out, in ReadMemInfo() function in android::meminfo::SysMemInfo
74 return ReadMemInfo(path, ntags, tags, [&]([[maybe_unused]] std::string_view tag, uint64_t val) { in ReadMemInfo()
90 bool SysMemInfo::ReadMemInfo(const char* path, size_t ntags, const std::string_view* tags, in ReadMemInfo() function in android::meminfo::SysMemInfo
Dlibmeminfo_benchmark.cpp235 smi.ReadMemInfo(tags.size(), tags.data(), mem.data(), file.c_str()); in BM_ReadMemInfo_new()
405 smi.ReadMemInfo(tags.size(), tags.data(), mem.data(), file.c_str()); in BM_MemInfoWithZram_new()
Dlibmeminfo_test.cpp935 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
970 EXPECT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
1075 EXPECT_TRUE(mi.ReadMemInfo(tags.size(), tags.data(), mem.data(), file.c_str())); in TEST()
/system/memory/libmeminfo/vts/
Dvts_meminfo_test.cpp45 ASSERT_TRUE(mi.ReadMemInfo()); in TEST()
/system/memory/libmeminfo/libsmapinfo/
Dsmapinfo.cpp323 if (!smi.ReadMemInfo()) { in run_procrank()