Home
last modified time | relevance | path

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

/system/memory/lmkd/tests/
Dlmkd_tests.cpp172 static bool ParseReapTime(const std::string& line, pid_t pid, long& reap_time) { in ParseReapTime() argument
174 return sscanf(line.c_str(), LMKD_REAP_TIME_TEMPLATE, &reap_pid, &reap_time) == 2 && in ParseReapTime()
243 long reap_time; in TEST_F() local
244 ASSERT_TRUE(ParseReapTime(line, pid, reap_time) && reap_time >= 0) in TEST_F()
248 if (reap_time > 0) { in TEST_F()
249 double reclaim_speed = ((double)rss + swap) / reap_time; in TEST_F()
251 << swap << "kB swap) / " << reap_time << "ms"; in TEST_F()