Chombo + EB  3.2
Classes | Macros | Variables
CH_Timer.H File Reference
#include <cstdio>
#include "REAL.H"
#include "MayDay.H"
#include "Vector.H"
#include "ClockTicks.H"
#include "CH_Counters.H"
#include <list>
#include <string>
#include "List.H"
#include <iostream>
#include "BaseNamespaceHeader.H"
#include "BaseNamespaceFooter.H"
Include dependency graph for CH_Timer.H:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  TraceTimer
 
class  AutoStartLeaf
 
class  AutoStart
 

Macros

#define _CH_TIMER_H_
 
#define CH_TIMERS_ON()   TraceTimer::timersOn()
 
#define CH_TIMER(name, tpointer)
 
#define CH_TIME(name)
 
#define CH_TIMELEAF(name)
 
#define CH_TIMERS(name)
 
#define CH_START(tpointer)
 
#define CH_STOP(tpointer)
 
#define CH_TIMER_REPORT()   CH_XD::TraceTimer::report()
 
#define CH_TIMER_REPORTNAME(stream, name)   CH_XD::TraceTimer::reportName(stream, name);
 
#define CH_TIMER_RESET()   CH_XD::TraceTimer::reset()
 
#define CH_TIMER_PRUNE(threshold)   CH_XD::TraceTimer::PruneTimersParentChildPercent(threshold)
 

Variables

std::fstream LBFILE
 
class TraceTimer FORTRAN_BASENAME
 

Macro Definition Documentation

◆ _CH_TIMER_H_

#define _CH_TIMER_H_

◆ CH_TIMERS_ON

#define CH_TIMERS_ON ( )    TraceTimer::timersOn()

◆ CH_TIMER

#define CH_TIMER (   name,
  tpointer 
)
Value:
const char* TimerTag_##tpointer = name ; \
CH_XD::TraceTimer* tpointer = NULL ;\
if(TIMERS_tid==0) \
{ \
tpointer = CH_XD::TraceTimer::getTimer(TimerTag_##tpointer) ; \
}
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:907

Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), ch_flops(), BaseEBCellFAB< Real >::copy(), PetscSolver< LevelData< FArrayBox > >::setup_solver(), BiCGStabSolver< LevelData< T > >::solve(), GMRESSolver< T >::solve(), PetscSolver< LevelData< FArrayBox > >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< LevelData< T > >::solveNoInitResid(), and write().

◆ CH_TIME

#define CH_TIME (   name)
Value:
const char* TimerTagA = name ; \
char CH_TimermutexA = 0; \
CH_XD::TraceTimer* ch_tpointer = NULL; \
ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
CH_XD::AutoStart autostart(ch_tpointer, &CH_TimermutexA)
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:907

Referenced by BoxLayoutData< BaseFab< int > >::addTo(), AggStencil< BaseIVFAB< Real >, EBCellFAB >::AggStencil(), AggStencil< BaseIVFAB< Real >, EBCellFAB >::apply(), PetscSolver< LevelData< FArrayBox > >::apply_mfree(), MultilevelLinearOp< T >::applyOp(), MultilevelLinearOp< T >::assign(), BaseEBCellFAB< Real >::assign(), MultilevelLinearOp< T >::axby(), blockWrite(), IFData< dim >::BrentRootFinder(), AggStencil< BaseIVFAB< Real >, EBCellFAB >::cache(), MultilevelLinearOp< T >::clear(), AMRFASMultiGrid< T >::clear_private(), AMRMultiGrid< LevelData< T > >::computeAMROperator(), AMRMultiGrid< LevelData< T > >::computeAMRResidual(), AMRMultiGrid< LevelData< T > >::computeAMRResidualLevel(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::computeDiffusion(), MinimalCCCM< dim >::computeMoments(), MinimalCCCM< dim >::computeMomentsRecursively(), MinimalCCCM< dim >::computeRhs(), CoordinateSystem< 1 >::CoordinateSystem(), BaseEBCellFAB< Real >::copy(), LevelData< BaseFab< int > >::copyTo(), MultilevelLinearOp< T >::create(), PetscSolver< LevelData< FArrayBox > >::create_mat_vec(), FASMultiGrid< T >::cycle(), MultiGrid< T >::cycle(), AMRFASMultiGrid< T >::define(), MultilevelLinearOp< T >::define(), LevelData< BaseFab< int > >::define(), BaseEBCellFAB< Real >::define(), AMRMultiGrid< LevelData< T > >::define(), MultiGrid< T >::define(), IFData< dim >::defineLocalCoords(), MultilevelLinearOp< T >::dotProduct(), LevelData< BaseFab< int > >::exchange(), LevelData< BaseFab< int > >::exchangeBegin(), LevelData< BaseFab< int > >::exchangeEnd(), LevelData< BaseFab< int > >::exchangeNoOverlap(), BaseEBCellFAB< Real >::fill(), IFData< dim >::findIntersectionPts(), getOffsets(), IFData< dim >::IFData(), MultilevelLinearOp< T >::incr(), AMRFASMultiGrid< T >::init(), MultiGrid< T >::init(), AMRMultiGrid< LevelData< T > >::init(), IFData< dim >::isConnected(), BaseIVFAB< Real >::linearIn(), BaseEBCellFAB< Real >::linearIn(), BaseIVFAB< Real >::linearOut(), BaseEBCellFAB< Real >::linearOut(), LevelData< BaseFab< int > >::localCopyTo(), IFData< dim >::makeCornerSigns(), IFData< dim >::makeEdgeKey(), BoxLayoutData< BaseFab< int > >::makeItSoBegin(), BoxLayoutData< BaseFab< int > >::makeItSoLocalCopy(), MultilevelLinearOp< T >::norm(), FASMultiGrid< T >::oneCycle(), MultiGrid< T >::oneCycle(), MultilevelLinearOp< T >::preCond(), PetscSolver< LevelData< FArrayBox > >::putChomboInPetsc(), read(), readLevel(), regionGather(), AMRMultiGrid< LevelData< T > >::relax(), AMRMultiGrid< LevelData< T > >::relaxOnlyHomogeneous(), MultilevelLinearOp< T >::residual(), AMRMultiGrid< LevelData< T > >::revert(), IFData< dim >::rootFinder(), MultilevelLinearOp< T >::scale(), BaseEBCellFAB< Real >::setCoveredCellVal(), IFData< dim >::setNormalDerivatives(), MultilevelLinearOp< T >::setToZero(), IndexedMoments< SpaceDim, CH_EBIS_ORDER >::shift(), BaseEBCellFAB< Real >::size(), BiCGStabSolver< LevelData< T > >::solve(), RelaxSolver< T >::solve(), FASMultiGrid< T >::solve(), MergeSolver< T >::solve(), AMRMultiGrid< LevelData< T > >::solve(), MultiGrid< T >::solve(), PetscSolver< LevelData< FArrayBox > >::solve_mfree_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< LevelData< T > >::solveNoInit(), AMRMultiGrid< LevelData< T > >::solveNoInitResid(), AggStencil< BaseIVFAB< Real >, EBCellFAB >::uncache(), BoxLayoutData< BaseFab< int > >::unpackReceivesToMe_append(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeDependentOp(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::updateSolnWithTimeIndependentOp(), AMRFASMultiGrid< T >::VCycle(), write(), WriteMultiData< T >::writeData(), WriteMultiData< T >::WriteMultiData(), AMRFASMultiGrid< T >::~AMRFASMultiGrid(), AMRMultiGrid< LevelData< T > >::~AMRMultiGrid(), BoxLayoutData< BaseFab< int > >::~BoxLayoutData(), FASMultiGrid< T >::~FASMultiGrid(), LayoutData< Vector< IntVectSet > >::~LayoutData(), LevelData< BaseFab< int > >::~LevelData(), and MultilevelLinearOp< T >::~MultilevelLinearOp().

◆ CH_TIMELEAF

#define CH_TIMELEAF (   name)
Value:
const char* TimerTagA = name ; \
CH_XD::TraceTimer* ch_tpointer = NULL; \
ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
CH_XD::AutoStartLeaf autostart(ch_tpointer)
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:907

Referenced by getOffsets(), read(), write(), and WriteMultiData< T >::writeData().

◆ CH_TIMERS

#define CH_TIMERS (   name)
Value:
const char* TimerTagA = name ; \
char CH_TimermutexA = 0; \
char CH_Timermutex = 0; \
CH_XD::TraceTimer* ch_tpointer = NULL; \
int TIMERS_tid=0; \
{ \
ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
} \
CH_XD::AutoStart autostart(ch_tpointer, &CH_TimermutexA, &CH_Timermutex)
const char * name(const FArrayBox &a_dummySpecializationArg)
Definition: CH_HDF5.H:907

Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), BaseEBCellFAB< Real >::copy(), RK4DenseOutput< Soln, Rhs, EXOP >::define(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::define(), RK4DenseOutput< Soln, Rhs, EXOP >::denseOutputCoefs(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::denseOutputCoefs(), PetscSolver< LevelData< FArrayBox > >::setup_solver(), BiCGStabSolver< LevelData< T > >::solve(), GMRESSolver< T >::solve(), PetscSolver< LevelData< FArrayBox > >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< LevelData< T > >::solveNoInitResid(), and write().

◆ CH_START

#define CH_START (   tpointer)

◆ CH_STOP

#define CH_STOP (   tpointer)

◆ CH_TIMER_REPORT

#define CH_TIMER_REPORT ( )    CH_XD::TraceTimer::report()

◆ CH_TIMER_REPORTNAME

#define CH_TIMER_REPORTNAME (   stream,
  name 
)    CH_XD::TraceTimer::reportName(stream, name);

◆ CH_TIMER_RESET

#define CH_TIMER_RESET ( )    CH_XD::TraceTimer::reset()

◆ CH_TIMER_PRUNE

#define CH_TIMER_PRUNE (   threshold)    CH_XD::TraceTimer::PruneTimersParentChildPercent(threshold)

Variable Documentation

◆ LBFILE

std::fstream LBFILE

◆ FORTRAN_BASENAME

class TraceTimer FORTRAN_BASENAME