OPAL (Object Oriented Parallel Accelerator Library)
2021.1.99
OPAL
|
#include <IpplTimings.h>
Public Types | |
typedef Timing::TimerRef | TimerRef |
typedef Timing::TimerInfo | TimerInfo |
Static Public Member Functions | |
static TimerRef | getTimer (const char *nm) |
static void | startTimer (TimerRef t) |
static void | stopTimer (TimerRef t) |
static void | clearTimer (TimerRef t) |
static TimerInfo * | infoTimer (const char *nm) |
static void | print () |
static void | print (std::string fn, const std::map< std::string, unsigned int > &problemSize=std::map< std::string, unsigned int >()) |
static void | stash () |
static void | pop () |
Private Types | |
typedef Timing::TimerList_t | TimerList_t |
typedef Timing::TimerMap_t | TimerMap_t |
Private Member Functions | |
IpplTimings () | |
~IpplTimings () | |
Static Private Attributes | |
static Timing * | instance = new Timing() |
static std::stack< Timing * > | stashedInstance |
Definition at line 172 of file IpplTimings.h.
Definition at line 179 of file IpplTimings.h.
|
private |
Definition at line 222 of file IpplTimings.h.
|
private |
Definition at line 223 of file IpplTimings.h.
Definition at line 176 of file IpplTimings.h.
|
private |
Definition at line 250 of file IpplTimings.cpp.
|
private |
Definition at line 251 of file IpplTimings.cpp.
|
inlinestatic |
Definition at line 197 of file IpplTimings.h.
References Timing::clearTimer(), and instance.
|
inlinestatic |
Definition at line 182 of file IpplTimings.h.
References Timing::getTimer(), and instance.
Referenced by AmrParticleBase< PLayout >::AmrParticleBase(), BoundaryGeometry::BoundaryGeometry(), BoxLibParticle< PLayout >::BoxLibParticle(), BoundaryGeometry::execute(), FFTBoxPoissonSolver::FFTBoxPoissonSolver(), FFTPoissonSolver::FFTPoissonSolver(), DataSink::init(), main(), MGPoissonSolver::MGPoissonSolver(), ParallelCyclotronTracker::ParallelCyclotronTracker(), DiscField< Dim >::read(), MultiBunchHandler::readBunch(), MultiBunchHandler::saveBunch(), ScatteringPhysics::ScatteringPhysics(), BelosBottomSolver< Level >::setOperator(), PartBunchBase< T, Dim >::setup(), and MultiBunchHandler::updateParticleBins().
|
inlinestatic |
Definition at line 202 of file IpplTimings.h.
References Timing::infoTimer(), and instance.
|
static |
Definition at line 260 of file IpplTimings.cpp.
References instance, PAssert_GT, and stashedInstance.
Referenced by OptimizeCmd::popEnvironment(), and SampleCmd::popEnvironment().
|
inlinestatic |
Definition at line 207 of file IpplTimings.h.
References instance, and Timing::print().
Referenced by main().
|
inlinestatic |
Definition at line 212 of file IpplTimings.h.
References instance, and Timing::print().
|
inlinestatic |
Definition at line 187 of file IpplTimings.h.
References instance, and Timing::startTimer().
Referenced by ScatteringPhysics::apply(), ParallelCyclotronTracker::applyPluginElements(), BoxLibParticle< PLayout >::AssignDensityFort(), AmrMultiGrid::averageDown_m(), ParallelCyclotronTracker::borisExternalFields(), AmrPartBunch::boundp(), PartBunchBase< T, Dim >::boundp(), PartBunchBase< T, Dim >::boundp_destroyCycl(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), ParallelCyclotronTracker::bunchMode_m(), PartBunchBase< T, Dim >::calcBeamParameters(), AmrMultiGrid::computeEfield_m(), ParallelTTracker::computeExternalFields(), MGPoissonSolver::computePotential(), FFTBoxPoissonSolver::computePotential(), FFTPoissonSolver::computePotential(), AmrPartBunch::computeSelfFields(), PartBunch::computeSelfFields(), AmrPartBunch::computeSelfFields_cycl(), PartBunch::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), ThickTracker::concatenateMaps_m(), ScatteringPhysics::copyFromBunch(), Distribution::createOpalT(), ParallelCyclotronTracker::deleteParticle(), ParallelTTracker::doBinaryRepartition(), AmrParticleBase< PLayout >::domainMapping(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), DataSink::dumpSDDS(), BoundaryGeometry::fastIsInside(), ParallelCyclotronTracker::globalToLocal(), FFTBoxPoissonSolver::greensFunction(), BoundaryGeometry::initialize(), FFTBoxPoissonSolver::integratedGreensFunction(), BoundaryGeometry::intersectRayBoundary(), ParallelCyclotronTracker::kick(), ParallelCyclotronTracker::localToGlobal(), main(), BoundaryGeometry::partInside(), AmrMultiGrid::prolongate_m(), ParallelCyclotronTracker::push(), DiscField< Dim >::read(), MultiBunchHandler::readBunch(), AmrBoxLib::regrid(), AmrMultiGrid::relax_m(), ParallelCyclotronTracker::repartition(), AmrMultiGrid::restrict_m(), MultiBunchHandler::saveBunch(), ParallelCyclotronTracker::seoMode_m(), BelosBottomSolver< Level >::setOperator(), MueLuBottomSolver< Level >::setOperator(), AmrMultiGrid::setup_m(), FFTBoxPoissonSolver::shiftedIntGreensFunction(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), AmrMultiGrid::smooth_m(), AmrBoxLib::solvePoisson_m(), AmrParticleBase< PLayout >::sort(), ParallelTTracker::timeIntegration1(), ParallelTTracker::timeIntegration2(), ThickTracker::track_m(), AmrParticleBase< PLayout >::update(), MultiBunchHandler::updateParticleBins(), DataSink::writeMultiBunchStatistics(), H5Writer::writePhaseSpace(), and AmrMultiGrid::writeSDDSData_m().
|
static |
Definition at line 253 of file IpplTimings.cpp.
References instance, PAssert_EQ, and stashedInstance.
Referenced by OptimizeCmd::stashEnvironment(), and SampleCmd::stashEnvironment().
|
inlinestatic |
Definition at line 192 of file IpplTimings.h.
References instance, and Timing::stopTimer().
Referenced by ScatteringPhysics::apply(), ParallelCyclotronTracker::applyPluginElements(), BoxLibParticle< PLayout >::AssignDensityFort(), AmrMultiGrid::averageDown_m(), ParallelCyclotronTracker::borisExternalFields(), AmrPartBunch::boundp(), PartBunchBase< T, Dim >::boundp_destroyCycl(), ParallelCyclotronTracker::bunchDumpPhaseSpaceData(), ParallelCyclotronTracker::bunchDumpStatData(), ParallelCyclotronTracker::bunchMode_m(), PartBunchBase< T, Dim >::calcBeamParameters(), AmrMultiGrid::computeEfield_m(), ParallelTTracker::computeExternalFields(), MGPoissonSolver::computePotential(), FFTBoxPoissonSolver::computePotential(), FFTPoissonSolver::computePotential(), AmrPartBunch::computeSelfFields(), PartBunch::computeSelfFields(), AmrPartBunch::computeSelfFields_cycl(), PartBunch::computeSelfFields_cycl(), AmrBoxLib::computeSelfFields_cycl(), ParallelTTracker::computeWakefield(), ThickTracker::concatenateMaps_m(), ScatteringPhysics::copyFromBunch(), Distribution::createOpalT(), ParallelCyclotronTracker::deleteParticle(), ParallelTTracker::doBinaryRepartition(), AmrParticleBase< PLayout >::domainMapping(), Distribution::doRestartOpalCycl(), Distribution::doRestartOpalT(), DataSink::dumpSDDS(), ParallelCyclotronTracker::globalToLocal(), FFTBoxPoissonSolver::greensFunction(), BoundaryGeometry::initialize(), FFTBoxPoissonSolver::integratedGreensFunction(), BoundaryGeometry::intersectRayBoundary(), ParallelCyclotronTracker::kick(), ParallelCyclotronTracker::localToGlobal(), main(), BoundaryGeometry::partInside(), AmrMultiGrid::prolongate_m(), ParallelCyclotronTracker::push(), DiscField< Dim >::read(), MultiBunchHandler::readBunch(), AmrBoxLib::regrid(), AmrMultiGrid::relax_m(), ParallelCyclotronTracker::repartition(), AmrMultiGrid::restrict_m(), MultiBunchHandler::saveBunch(), ParallelCyclotronTracker::seoMode_m(), BelosBottomSolver< Level >::setOperator(), MueLuBottomSolver< Level >::setOperator(), FFTBoxPoissonSolver::shiftedIntGreensFunction(), ParallelCyclotronTracker::singleMode_m(), ParallelCyclotronTracker::singleParticleDump(), AmrMultiGrid::smooth_m(), AmrBoxLib::solvePoisson_m(), AmrParticleBase< PLayout >::sort(), ParallelTTracker::timeIntegration1(), ParallelTTracker::timeIntegration2(), ThickTracker::track_m(), AmrParticleBase< PLayout >::update(), MultiBunchHandler::updateParticleBins(), DataSink::writeMultiBunchStatistics(), H5Writer::writePhaseSpace(), and AmrMultiGrid::writeSDDSData_m().
Definition at line 232 of file IpplTimings.h.
Referenced by clearTimer(), getTimer(), infoTimer(), pop(), print(), startTimer(), stash(), and stopTimer().
|
staticprivate |
Definition at line 233 of file IpplTimings.h.