Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/platform_CompressedSwap/
Dplatform_CompressedSwap.py50 memtotal = utils.read_from_meminfo('MemTotal')
51 swaptotal = utils.read_from_meminfo('SwapTotal')
95 memfree = utils.read_from_meminfo('MemFree')
96 swapfree = utils.read_from_meminfo('SwapFree')
156 swapfree2 = utils.read_from_meminfo('SwapFree')
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py182 self.mem_total = utils.read_from_meminfo('MemTotal')
183 self.swap_total = utils.read_from_meminfo('SwapTotal')
184 self.mem_free = utils.read_from_meminfo('MemFree')
185 self.swap_free = utils.read_from_meminfo('SwapFree')
406 swaptotal = utils.read_from_meminfo('SwapTotal')
/external/autotest/client/tests/stress/
Dstress.py38 mb = utils.freememtotal() + utils.read_from_meminfo('SwapFree') / 2
/external/autotest/client/tests/kvm/tests/
Dksm_overcommit.py185 free_mem = int(utils.read_from_meminfo("MemFree"))
188 int(utils.read_from_meminfo("SwapFree")))
392 host_reserve = ((utils.memtotal() - utils.read_from_meminfo("MemFree"))
493 swap = int(utils.read_from_meminfo("SwapTotal")) / 1024
/external/autotest/client/cros/graphics/
Dgraphics_utils.py946 keyvals['meminfo_MemUsed'] = (utils.read_from_meminfo('MemTotal') -
947 utils.read_from_meminfo('MemFree'))
948 keyvals['meminfo_SwapUsed'] = (utils.read_from_meminfo('SwapTotal') -
949 utils.read_from_meminfo('SwapFree'))
/external/autotest/server/site_tests/platform_TotalMemory/
Dplatform_TotalMemory.py39 mem_total = self.host.read_from_meminfo(key)
/external/autotest/client/bin/
Dbase_utils.py473 def read_from_meminfo(key): function
479 return read_from_meminfo('MemTotal')
483 return read_from_meminfo('MemFree')
487 return int(read_from_meminfo('MemFree') * 0.95)
/external/autotest/client/site_tests/platform_MemCheck/
Dplatform_MemCheck.py81 value = utils.read_from_meminfo(k)
/external/autotest/client/virt/
Dvirt_test_utils.py415 mf = int(utils.read_from_meminfo("SwapFree")) / 1024
/external/autotest/server/hosts/
Dcros_host.py2788 def read_from_meminfo(self, key): member in CrosHost