Home
last modified time | relevance | path

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

/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/
Dhugeshmat04.c86 long mem_total, hpage_size, orig_hugepages; in setup() local
89 mem_total = SAFE_READ_MEMINFO("MemTotal:"); in setup()
94 if (mem_total < 2L*1024*1024) in setup()
95 tst_brk(TCONF, "Needed > 2GB RAM, have: %ld", mem_total); in setup()
/external/ltp/testcases/kernel/mem/tunable/
Dovercommit_memory.c99 long mem_total, swap_total; in setup() local
115 mem_total = SAFE_READ_MEMINFO("MemTotal:"); in setup()
116 tst_res(TINFO, "MemTotal is %ld kB", mem_total); in setup()
119 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/tensorflow/tensorflow/core/util/
Dstat_summarizer.cc132 int64 mem_total = 0; in ProcessStepStats() local
207 mem_total += curr_node_mem; in ProcessStepStats()
214 stats_calculator_->UpdateMemoryUsed(mem_total); in ProcessStepStats()
/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.py2157 mem_total = _get_float_from_file(_MEMINFO, 'MemTotal:', 'MemTotal:', ' kB')
2159 assert mem_total > 256 * 1024, 'Unreasonable amount of memory.'
2160 return mem_total / 1024