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

Method FindTimeRange

Src/Extern/ProfParser/AMReX_CommProfStats.cpp:943–949  ·  view source on GitHub ↗

----------------------------------------------------------------------

Source from the content-addressed store, hash-verified

941
942// ----------------------------------------------------------------------
943void CommProfStats::FindTimeRange(BLProfStats::TimeRange& tr) {
944 for(int idb(0); idb < dataBlocks.size(); ++idb) { // ---- go through dataBlocks
945 DataBlock &dBlock = dataBlocks[idb];
946 tr.startTime = std::min(tr.startTime, dBlock.timeMin);
947 tr.stopTime = std::max(tr.stopTime, dBlock.timeMax);
948 }
949}
950
951// ----------------------------------------------------------------------
952void CommProfStats::TimelineFAB(FArrayBox &timelineFAB, const Box &probDomain,

Callers 1

FindCalcTimeRangeMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected