Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 7e19b7f4 authored by Olivier COULAUD's avatar Olivier COULAUD
Browse files

Add L2P timer in FLOG

parent da5546c3
No related branches found
No related tags found
No related merge requests found
Pipeline #679930 failed
...@@ -360,6 +360,7 @@ protected: ...@@ -360,6 +360,7 @@ protected:
void directPass(const bool p2pEnabled, const bool l2pEnabled){ void directPass(const bool p2pEnabled, const bool l2pEnabled){
FLOG( FTic timer; ); FLOG( FTic timer; );
if(l2pEnabled){ if(l2pEnabled){
FLOG( FTic timerL2P; );
typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin(); typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin();
const typename OctreeClass::ParticleGroupIterator endParticles = tree->leavesEnd(); const typename OctreeClass::ParticleGroupIterator endParticles = tree->leavesEnd();
...@@ -383,6 +384,7 @@ protected: ...@@ -383,6 +384,7 @@ protected:
} }
FAssertLF(iterParticles == endParticles && iterCells == endCells); FAssertLF(iterParticles == endParticles && iterCells == endCells);
FLOG( FLog::Controller << "\t\t L2PPass in " << timerL2P.tacAndElapsed() << "s\n" );
} }
if(p2pEnabled){ if(p2pEnabled){
typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin(); typename OctreeClass::ParticleGroupIterator iterParticles = tree->leavesBegin();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment