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/libs/libltpnuma/
Dtst_numa.c128 long mem_total = 0; in node_has_enough_memory() local
149 mem_total = val; in node_has_enough_memory()
157 if (!mem_total || !mem_used) { in node_has_enough_memory()
162 if (mem_total - mem_used < (long)min_kb) { in node_has_enough_memory()
165 node, mem_total - mem_used, min_kb); in node_has_enough_memory()
/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/tensorflow/tensorflow/core/util/
Dstat_summarizer.cc132 int64 mem_total = 0; in ProcessStepStats() local
219 mem_total += curr_node_mem; in ProcessStepStats()
226 stats_calculator_->UpdateMemoryUsed(mem_total); in ProcessStepStats()
/external/tensorflow/tensorflow/compiler/xrt/kernels/
Dxrt_state_ops.h760 int64 mem_total = -1; in Compute() local
761 if (!stream_executor->DeviceMemoryUsage(&mem_free, &mem_total)) { in Compute()
766 mem_info.set_kb_total((mem_total >= 0) ? mem_total / 1024 : -1); in Compute()
/external/autotest/client/bin/
Dutils.py1847 mem_total = _get_float_from_file(_MEMINFO, 'MemTotal:', 'MemTotal:', ' kB')
1849 assert mem_total > 256 * 1024, 'Unreasonable amount of memory.'
1850 return int(mem_total / 1024)