Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/platform_CompressedSwap/
Dplatform_CompressedSwap.py51 swaptotal = utils.read_from_meminfo('SwapTotal')
52 free_target = (memtotal + swaptotal) * 0.03
62 if swaptotal != 0:
65 swaptotal)
77 if (swaptotal < swaprequested * 0.9 or
78 swaptotal > swaprequested * 1.1):
81 (swaptotal, swaprequested))
83 % (enable_size, swaprequested, swaptotal))
87 max_hog_count = (memtotal + swaptotal) / (MB_PER_HOG * MB_TO_KB)
/external/autotest/client/site_tests/platform_CompressedSwapPerf/
Dplatform_CompressedSwapPerf.py406 swaptotal = utils.read_from_meminfo('SwapTotal')
415 if swaptotal != 0:
418 swaptotal)
430 if (swaptotal < swaprequested * 0.9 or
431 swaptotal > swaprequested * 1.1):
434 (swaptotal, swaprequested))
436 enable_size, swaprequested, swaptotal)
/external/toybox/toys/other/
Dvmstat.c35 uint64_t memfree, buffers, cached, swapfree, swaptotal; member
114 top[idx].swaptotal -= top[idx].swapfree; in vmstat_main()
/external/autotest/client/site_tests/hardware_MemoryZRAMThroughput/
Dcontrol16 This test uses AutoTest's utils.memtotal() and utils.swaptotal().
Dhardware_MemoryZRAMThroughput.py51 swap_size = utils.swaptotal()
/external/autotest/client/bin/
Dutils.py477 def swaptotal(): function