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

Method registerForProfiling

Src/Base/AMReX_Arena.cpp:143–151  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141#endif
142
143void
144Arena::registerForProfiling ([[maybe_unused]] const std::string& memory_name)
145{
146#ifdef AMREX_TINY_PROFILING
147 AMREX_ALWAYS_ASSERT(m_profiler.m_do_profiling == false);
148 m_profiler.m_do_profiling =
149 TinyProfiler::RegisterArena(memory_name, m_profiler.m_profiling_stats);
150#endif
151}
152
153void
154Arena::deregisterFromProfiling ()

Callers 1

InitializeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected