Home
last modified time | relevance | path

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

/external/perfetto/src/profiling/common/
Dproc_utils_unittest.cc129 TEST(ProcUtilsTest, GetRssAnonAndSwap) { in TEST() argument
131 EXPECT_EQ(GetRssAnonAndSwap(status), 20000u); in TEST()
135 EXPECT_EQ(GetRssAnonAndSwap(""), base::nullopt); in TEST()
136 EXPECT_EQ(GetRssAnonAndSwap("RssAnon: 10000 kB"), base::nullopt); in TEST()
137 EXPECT_EQ(GetRssAnonAndSwap("VmSwap: 10000"), base::nullopt); in TEST()
Dproc_utils.cc167 base::Optional<uint32_t> GetRssAnonAndSwap(const std::string& status) { in GetRssAnonAndSwap() function
183 rss_and_swap = GetRssAnonAndSwap(*status); in RemoveUnderAnonThreshold()
Dproc_utils.h65 base::Optional<uint32_t> GetRssAnonAndSwap(const std::string&);
Dprofiler_guardrails.cc54 anon_and_swap_ = GetRssAnonAndSwap(status); in ProfilerMemoryGuardrails()