Searched refs:exec_mem (Results 1 – 4 of 4) sorted by relevance
/external/tensorflow/tensorflow/core/profiler/internal/ |
D | tfprof_node.cc | 83 ExecMemory exec_mem; in AddMemoryStats() local 85 exec_mem.set_memory_micros(step_stat.all_start_micros() + in AddMemoryStats() 101 exec_mem.set_allocator_bytes_in_use( in AddMemoryStats() 102 std::max(static_cast<int64>(exec_mem.allocator_bytes_in_use()), in AddMemoryStats() 128 auto& mem = (*exec_mem.mutable_output_memory())[output.slot()]; in AddMemoryStats() 133 exec_mem.set_output_bytes(total_output_bytes); in AddMemoryStats() 138 exec_mem.set_host_temp_bytes(exec_mem.host_temp_bytes() + in AddMemoryStats() 140 exec_mem.set_host_persistent_bytes( in AddMemoryStats() 141 exec_mem.host_persistent_bytes() + in AddMemoryStats() 144 exec_mem.set_accelerator_temp_bytes( in AddMemoryStats() [all …]
|
/external/mesa3d/src/mapi/ |
D | u_execmem.c | 46 static unsigned char *exec_mem = (unsigned char *)0; variable 80 if (!exec_mem) in init_map() 81 exec_mem = mmap(NULL, EXEC_MAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_map() 84 return (exec_mem != MAP_FAILED); in init_map() 100 exec_mem = VirtualAlloc(NULL, EXEC_MAP_SIZE, MEM_COMMIT, PAGE_EXECUTE_READWRITE); in init_map() 102 return (exec_mem != NULL); in init_map() 113 exec_mem = malloc(EXEC_MAP_SIZE); in init_map() 115 return (exec_mem != NULL); in init_map() 136 addr = exec_mem + head; in u_execmem_alloc()
|
/external/mesa3d/src/mesa/main/ |
D | execmem.c | 65 static unsigned char *exec_mem = NULL; variable 82 if (!exec_mem) in init_heap() 83 exec_mem = mmap(NULL, EXEC_HEAP_SIZE, PROT_EXEC | PROT_READ | PROT_WRITE, in init_heap() 86 return (exec_mem != MAP_FAILED); in init_heap() 107 addr = exec_mem + block->ofs; in _mesa_exec_malloc() 124 struct mem_block *block = mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in _mesa_exec_free()
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
D | rtasm_execmem.c | 69 static unsigned char *exec_mem = NULL; variable 78 if (!exec_mem) in init_heap() 79 exec_mem = (unsigned char *) mmap(0, EXEC_HEAP_SIZE, in init_heap() 83 return (exec_mem != MAP_FAILED); in init_heap() 104 addr = exec_mem + block->ofs; in rtasm_exec_malloc() 121 struct mem_block *block = u_mmFindBlock(exec_heap, (unsigned char *)addr - exec_mem); in rtasm_exec_free()
|