MCPcopy Create free account
hub / github.com/AMReX-Codes/amrex / amrex_mempool_alloc

Function amrex_mempool_alloc

Src/Base/AMReX_MemPool.cpp:74–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

72}
73
74void* amrex_mempool_alloc (size_t nbytes)
75{
76 int tid = OpenMP::get_thread_num();
77 return the_memory_pool[tid]->alloc(nbytes);
78}
79
80void amrex_mempool_free (void* p)
81{

Callers 3

amrex_mempool_initFunction · 0.85
AMReX_BaseFab.HFile · 0.85
allocMethod · 0.85

Calls 2

get_thread_numFunction · 0.85
allocMethod · 0.45

Tested by

no test coverage detected