Searched refs:mem_total (Results 1 – 5 of 5) sorted by relevance
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat04.c | 126 long mem_total, hpage_size; in setup() local 131 mem_total = read_meminfo("MemTotal:"); in setup() 136 if (mem_total < 2L*1024*1024) in setup() 137 tst_brkm(TCONF, NULL, "Needed > 2GB RAM, have: %ld", mem_total); in setup()
|
/external/ltp/testcases/kernel/mem/tunable/ |
D | overcommit_memory.c | 141 long mem_total, swap_total; in setup() local 158 mem_total = read_meminfo("MemTotal:"); in setup() 159 tst_resm(TINFO, "MemTotal is %ld kB", mem_total); in setup() 162 sum_total = mem_total + swap_total; in setup()
|
/external/autotest/server/site_tests/platform_TotalMemory/ |
D | platform_TotalMemory.py | 40 mem_total = self.host.read_from_meminfo(key) 41 if mem_total is None: 43 return mem_total
|
/external/autotest/client/site_tests/platform_CompressedSwapPerf/ |
D | platform_CompressedSwapPerf.py | 182 self.mem_total = utils.read_from_meminfo('MemTotal') 188 used_phys_memory = self.mem_total - self.mem_free
|
/external/autotest/client/bin/ |
D | utils.py | 1919 mem_total = _get_float_from_file(_MEMINFO, 'MemTotal:', 'MemTotal:', ' kB') 1921 assert mem_total > 256 * 1024, 'Unreasonable amount of memory.' 1922 return mem_total / 1024
|