Skip to content

Commit

Permalink
added PDW string
Browse files Browse the repository at this point in the history
  • Loading branch information
guj committed Sep 10, 2024
1 parent e6a2151 commit bd1bb17
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions examples/8c_benchmark_ptl_parallel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -664,8 +664,11 @@ void BasicParticlePattern::store(Series &series, int step)
storeParticles(currSpecies, step);

if (m_Input.m_CallPDW)
series.flush();

{
std::string pdwStr = "PDW-"+std::to_string(step);
Timer pdwTimer(pdwStr, m_Input.m_MPIRank, Timer::FULL);
series.flush();
}
{
Checkpoint remove2("Barrier_3", m_Input.m_MPIRank);
MPI_Barrier(MPI_COMM_WORLD);
Expand Down

0 comments on commit bd1bb17

Please sign in to comment.