Home
last modified time | relevance | path

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

/external/autotest/client/site_tests/platform_LowMemoryTest/
Dplatform_LowMemoryTest.py59 def create_pages_and_check_oom(create_page_func, size_mb, bindir): argument
74 tab_count = 1 + (utils.memtotal() * KB_TO_BYTE * 4) / (size_mb * MB_TO_BYTE)
85 create_page_func(cr, size_mb, bindir)
119 def create_alloc_page(cr, page_name, size_mb, random_ratio, bindir): argument
132 url += '?alloc=' + str(size_mb)
149 def create_random_page(cr, size_mb, bindir): argument
151 create_alloc_page(cr, 'alloc.html', size_mb, random_ratio,
169 def create_form_page(cr, size_mb, bindir): argument
171 tab = create_alloc_page(cr, 'form.html', size_mb, random_ratio,
/external/u-boot/board/gateworks/gw_ventana/
Dgw_ventana_spl.c425 static void spl_dram_init(int width, int size_mb, int board_model) in spl_dram_init() argument
462 if (width == 16 && size_mb == 128) { in spl_dram_init()
469 } else if (width == 16 && size_mb == 256) { in spl_dram_init()
477 } else if (width == 16 && size_mb == 512) { in spl_dram_init()
484 } else if (width == 32 && size_mb == 256) { in spl_dram_init()
492 } else if (width == 32 && size_mb == 512) { in spl_dram_init()
499 } else if (width == 32 && size_mb == 1024) { in spl_dram_init()
506 } else if (width == 32 && size_mb == 2048) { in spl_dram_init()
511 } else if (width == 64 && size_mb == 512) { in spl_dram_init()
514 } else if (width == 64 && size_mb == 1024) { in spl_dram_init()
[all …]
/external/u-boot/arch/arm/mach-rockchip/
Dsdram_common.c18 size_t size_mb = 0; in rockchip_sdram_size() local
46 size_mb += chipsize_mb; in rockchip_sdram_size()
51 return (size_t)size_mb << 20; in rockchip_sdram_size()
/external/autotest/client/common_lib/cros/
Dmemory_eater.py183 def run_multi_memory_pressure(size_mb, end_condition, duration, timeout=None): argument
201 consumer.consume_active_memory(size_mb)
205 total_mb += size_mb
/external/perfetto/src/trace_processor/
Dtrace_processor_shell.cc581 double size_mb = file_size / 1E6; in TraceProcessorMain() local
582 PERFETTO_ILOG("Trace loaded: %.2f MB (%.1f MB/s)", size_mb, size_mb / t_load); in TraceProcessorMain()