From 7e19b7f46d049dc5731bc3c91d13c5b63eed290e Mon Sep 17 00:00:00 2001 From: Olivier Coulaud <olivier.coulaud@inria.fr> Date: Tue, 15 Nov 2022 18:53:34 +0100 Subject: [PATCH] Add L2P timer in FLOG --- include/GroupTree/Core/FGroupSeqAlgorithm.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/GroupTree/Core/FGroupSeqAlgorithm.hpp b/include/GroupTree/Core/FGroupSeqAlgorithm.hpp index 0f500ac87..1bd32cf11 100644 --- a/include/GroupTree/Core/FGroupSeqAlgorithm.hpp +++ b/include/GroupTree/Core/FGroupSeqAlgorithm.hpp @@ -360,6 +360,7 @@ protected: void directPass(const bool p2pEnabled, const bool l2pEnabled){ FLOG( FTic timer; ); if(l2pEnabled){ + FLOG( FTic timerL2P; ); typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin(); const typename OctreeClass::ParticleGroupIterator endParticles = tree->leavesEnd(); @@ -383,6 +384,7 @@ protected: } FAssertLF(iterParticles == endParticles && iterCells == endCells); + FLOG( FLog::Controller << "\t\t L2PPass in " << timerL2P.tacAndElapsed() << "s\n" ); } if(p2pEnabled){ typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin(); -- GitLab