Searched refs:mem_total (Results 1 – 6 of 6) sorted by relevance
/external/ltp/testcases/kernel/mem/hugetlb/hugeshmat/ |
D | hugeshmat04.c | 86 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/ |
D | overcommit_memory.c | 99 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/ |
D | platform_TotalMemory.py | 40 mem_total = self.host.read_from_meminfo(key) 41 if mem_total is None: 43 return mem_total
|
/external/tensorflow/tensorflow/core/util/ |
D | stat_summarizer.cc | 132 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/ |
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 | 2157 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
|