Home
last modified time | relevance | path

Searched refs:mem_total (Results 1 – 5 of 5) sorted by relevance

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat04.c126 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/
Dovercommit_memory.c141 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/
Dplatform_TotalMemory.py40 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/
Dplatform_CompressedSwapPerf.py182 self.mem_total = utils.read_from_meminfo('MemTotal')
188 used_phys_memory = self.mem_total - self.mem_free
/external/autotest/client/bin/
Dutils.py1919 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