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

Method flushTileArrayCache

Src/Base/AMReX_FabArrayBase.cpp:2505–2517  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2503}
2504
2505void
2506FabArrayBase::flushTileArrayCache ()
2507{
2508 for (auto const& tao_it : m_TheTileArrayCache) {
2509 for (auto const& tai_it : tao_it.second) {
2510 m_TAC_stats.recordErase(tai_it.second.nuse);
2511 }
2512 }
2513 m_TheTileArrayCache.clear();
2514#ifdef AMREX_MEM_PROFILING
2515 m_TAC_stats.bytes = 0L;
2516#endif
2517}
2518
2519void
2520FabArrayBase::clearThisBD (bool no_assertion) const

Callers

nothing calls this directly

Calls 2

recordEraseMethod · 0.80
clearMethod · 0.45

Tested by

no test coverage detected