Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c141 long mem_total, swap_total; in setup() local
160 swap_total = read_meminfo("SwapTotal:"); in setup()
161 tst_resm(TINFO, "SwapTotal is %ld kB", swap_total); in setup()
162 sum_total = mem_total + swap_total; in setup()
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py183 self.swap_total = utils.read_from_meminfo('SwapTotal')
186 self.swap_used = self.swap_total - self.swap_free
195 self.usage_ratio = float(self.swap_used) / self.swap_total
282 swap_target_usage = swap_target * self.swap_total
/external/libchrome/base/process/
Dprocess_metrics_linux.cc546 swap_total = 0; in SystemMemoryInfoKB()
579 res->SetInteger("swap_total", swap_total); in ToValue()
581 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()
647 target = &meminfo->swap_total; in ParseProcMeminfo()
Dprocess_metrics_unittest.cc180 EXPECT_EQ(meminfo.swap_total, 5832280); in TEST_F()
192 EXPECT_EQ(meminfo.swap_total, 524280); in TEST_F()
Dprocess_metrics.h284 int swap_total; member