Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c222 long mem_free, swap_free; in update_mem() local
225 swap_free = SAFE_READ_MEMINFO("SwapFree:"); in update_mem()
226 free_total = mem_free + swap_free; in update_mem()
/external/ltp/testcases/kernel/controllers/memcg/stress/
Dmemcg_stress_test.sh114 swap_free=`cat /proc/meminfo | grep SwapFree | awk '{ print $2 }'`
116 mem=$(( $mem_free + $swap_free / 2 ))
/external/autotest/server/cros/
Dresource_monitor.py136 (swap_units, swap_free,
147 FreeSwap=swap_free)
/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
/external/libchrome/base/process/
Dprocess_metrics_linux.cc483 res->SetInteger("swap_free", swap_free); in ToValue()
484 res->SetInteger("swap_used", swap_total - swap_free); in ToValue()
546 target = &meminfo->swap_free; in ParseProcMeminfo()
Dprocess_metrics_unittest.cc188 EXPECT_EQ(meminfo.swap_free, 3672368); in TEST_F()
209 EXPECT_EQ(meminfo.swap_free, 524200); in TEST_F()
Dprocess_metrics.h322 int swap_free = 0; member
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dsystem_sampler.py94 swap_free=mem_info.SwapFree,