Home
last modified time | relevance | path

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

/external/autotest/client/tests/kvm/tests/
Dtrans_hugepage_swapping.py45 swap_free = []
49 swap_free.append(int(args_dict['swap_free'])/1024)
58 if swap_free > (total - free):
77 if int(params['mem']) > swap_free[0]:
83 params['mem'] = str(swap_free[0])
100 swap_free.append(int(args_dict['swap_free'])/1024)
102 if swap_free[1] - swap_free[0] >= 0:
/external/libchrome/base/process/
Dprocess_metrics_linux.cc543 swap_free = 0; in SystemMemoryInfoKB()
570 res->SetInteger("swap_free", swap_free); in ToValue()
571 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()
635 target = &meminfo->swap_free; in ParseProcMeminfo()
Dprocess_metrics_unittest.cc181 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()
193 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
Dprocess_metrics.h273 int swap_free; member
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py185 self.swap_free = utils.read_from_meminfo('SwapFree')
186 self.swap_used = self.swap_total - self.swap_free