Searched refs:swaptotal (Results 1 – 6 of 6) sorted by relevance
/external/autotest/client/site_tests/platform_CompressedSwap/ |
D | platform_CompressedSwap.py | 51 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/ |
D | platform_CompressedSwapPerf.py | 406 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/ |
D | vmstat.c | 35 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/ |
D | control | 16 This test uses AutoTest's utils.memtotal() and utils.swaptotal().
|
D | hardware_MemoryZRAMThroughput.py | 51 swap_size = utils.swaptotal()
|
/external/autotest/client/bin/ |
D | utils.py | 477 def swaptotal(): function
|