Commit 607a25a1 authored by Sebastian Eibl's avatar Sebastian Eibl
Browse files

added kernel measurement AssocToBlock

parent 0d073852
......@@ -258,6 +258,14 @@ int main( int argc, char ** argv )
WcTimingPool tpImbalanced;
WcTimingPool tpBalanced;
WALBERLA_MPI_BARRIER();
tpImbalanced["AssocToBlock"].start();
for (int64_t i=0; i < params.simulationSteps; ++i)
{
ps->forEachParticle(true, kernel::SelectLocal(), accessor, assoc, accessor);
}
tpImbalanced["AssocToBlock"].end();
WALBERLA_MPI_BARRIER();
tpImbalanced["GenerateLinkedCells"].start();
for (int64_t i=0; i < params.simulationSteps; ++i)
......@@ -358,6 +366,14 @@ int main( int argc, char ** argv )
sortParticleStorage(*ps, params.sorting, lc->domain_, uint_c(lc->numCellsPerDim_[0]));
}
WALBERLA_MPI_BARRIER();
tpBalanced["AssocToBlock"].start();
for (int64_t i=0; i < params.simulationSteps; ++i)
{
ps->forEachParticle(true, kernel::SelectLocal(), accessor, assoc, accessor);
}
tpBalanced["AssocToBlock"].end();
WALBERLA_MPI_BARRIER();
tpBalanced["GenerateLinkedCells"].start();
for (int64_t i=0; i < params.simulationSteps; ++i)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment