From bd1bb172c6926c095a9923a02d308cd020ee577c Mon Sep 17 00:00:00 2001 From: guj Date: Tue, 10 Sep 2024 14:04:56 -0700 Subject: [PATCH] added PDW string --- examples/8c_benchmark_ptl_parallel.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/examples/8c_benchmark_ptl_parallel.cpp b/examples/8c_benchmark_ptl_parallel.cpp index 10e15259b7..779339069a 100644 --- a/examples/8c_benchmark_ptl_parallel.cpp +++ b/examples/8c_benchmark_ptl_parallel.cpp @@ -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);