Searched refs:ReadMemInfo (Results 1 – 6 of 6) sorted by relevance
/system/memory/libmeminfo/include/meminfo/ |
D | sysmeminfo.h | 78 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/ |
D | sysmeminfo.cpp | 53 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
|
D | libmeminfo_benchmark.cpp | 235 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()
|
D | libmeminfo_test.cpp | 935 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/ |
D | vts_meminfo_test.cpp | 45 ASSERT_TRUE(mi.ReadMemInfo()); in TEST()
|
/system/memory/libmeminfo/libsmapinfo/ |
D | smapinfo.cpp | 323 if (!smi.ReadMemInfo()) { in run_procrank()
|