#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"
Go to the source code of this file.
Classes | |
class | TraceTimer |
class | AutoStartLeaf |
class | AutoStart |
Defines | |
#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 |
#define CH_TIMERS_ON | ( | ) | TraceTimer::timersOn() |
#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) ; \ }
Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), ch_flops(), BaseEBCellFAB< T >::copy(), PetscSolver< T >::setup_solver(), GMRESSolver< T >::solve(), BiCGStabSolver< T >::solve(), PetscSolver< T >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), and write().
#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)
Referenced by BoxLayoutData< T >::addTo(), AggStencil< srcData_t, dstData_t >::AggStencil(), AggStencil< srcData_t, dstData_t >::apply(), PetscSolver< T >::apply_mfree(), MultilevelLinearOp< T >::applyOp(), MultilevelLinearOp< T >::assign(), BaseEBCellFAB< T >::assign(), MultilevelLinearOp< T >::axby(), blockWrite(), IFData< dim >::BrentRootFinder(), AggStencil< srcData_t, dstData_t >::cache(), MultilevelLinearOp< T >::clear(), AMRFASMultiGrid< T >::clear_private(), AMRMultiGrid< T >::computeAMROperator(), AMRMultiGrid< T >::computeAMRResidual(), AMRMultiGrid< T >::computeAMRResidualLevel(), BaseLevelTGA< LevelData< FArrayBox >, FluxBox, LevelFluxRegister >::computeDiffusion(), MinimalCCCM< dim >::computeMoments(), MinimalCCCM< dim >::computeMomentsRecursively(), MinimalCCCM< dim >::computeRhs(), CoordinateSystem< dim >::CoordinateSystem(), BaseEBCellFAB< T >::copy(), LevelData< T >::copyTo(), MultilevelLinearOp< T >::create(), PetscSolver< T >::create_mat_vec(), MultiGrid< T >::cycle(), FASMultiGrid< T >::cycle(), MultilevelLinearOp< T >::define(), MultiGrid< T >::define(), LevelData< T >::define(), BaseEBCellFAB< T >::define(), AMRMultiGrid< T >::define(), AMRFASMultiGrid< T >::define(), IFData< dim >::defineLocalCoords(), MultilevelLinearOp< T >::dotProduct(), LevelData< T >::exchange(), LevelData< T >::exchangeBegin(), LevelData< T >::exchangeEnd(), LevelData< T >::exchangeNoOverlap(), BaseEBCellFAB< T >::fill(), IFData< dim >::findIntersectionPts(), getOffsets(), IFData< dim >::IFData(), MultilevelLinearOp< T >::incr(), MultiGrid< T >::init(), AMRMultiGrid< T >::init(), AMRFASMultiGrid< T >::init(), IFData< dim >::isConnected(), BaseIVFAB< T >::linearIn(), BaseEBCellFAB< T >::linearIn(), BaseIVFAB< T >::linearOut(), BaseEBCellFAB< T >::linearOut(), LevelData< T >::localCopyTo(), IFData< dim >::makeCornerSigns(), IFData< dim >::makeEdgeKey(), BoxLayoutData< T >::makeItSoBegin(), BoxLayoutData< T >::makeItSoLocalCopy(), MultilevelLinearOp< T >::norm(), MultiGrid< T >::oneCycle(), FASMultiGrid< T >::oneCycle(), MultilevelLinearOp< T >::preCond(), PetscSolver< T >::putChomboInPetsc(), read(), regionGather(), AMRMultiGrid< T >::relax(), AMRMultiGrid< T >::relaxOnlyHomogeneous(), MultilevelLinearOp< T >::residual(), AMRMultiGrid< T >::revert(), IFData< dim >::rootFinder(), MultilevelLinearOp< T >::scale(), BaseEBCellFAB< T >::setCoveredCellVal(), IFData< dim >::setNormalDerivatives(), MultilevelLinearOp< T >::setToZero(), IndexedMoments< Dim, P >::shift(), BaseEBCellFAB< T >::size(), RelaxSolver< T >::solve(), MultiGrid< T >::solve(), MergeSolver< T >::solve(), FASMultiGrid< T >::solve(), BiCGStabSolver< T >::solve(), AMRMultiGrid< T >::solve(), PetscSolver< T >::solve_mfree_private(), AMRMultiGrid< T >::solveNoInit(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), AggStencil< srcData_t, dstData_t >::uncache(), 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< T >::~AMRMultiGrid(), BoxLayoutData< T >::~BoxLayoutData(), FASMultiGrid< T >::~FASMultiGrid(), LayoutData< T >::~LayoutData(), LevelData< T >::~LevelData(), and MultilevelLinearOp< T >::~MultilevelLinearOp().
#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)
Referenced by getOffsets(), read(), write(), and WriteMultiData< T >::writeData().
#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)
Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), BaseEBCellFAB< T >::copy(), RK4DenseOutput< Soln, Rhs, EXOP >::define(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::define(), RK4DenseOutput< Soln, Rhs, EXOP >::denseOutputCoefs(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::denseOutputCoefs(), PetscSolver< T >::setup_solver(), GMRESSolver< T >::solve(), BiCGStabSolver< T >::solve(), PetscSolver< T >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), and write().
#define CH_START | ( | tpointer | ) |
Value:
{ \ tpointer->start(&CH_Timermutex); \ }
Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), BaseEBCellFAB< T >::copy(), PetscSolver< T >::setup_solver(), GMRESSolver< T >::solve(), BiCGStabSolver< T >::solve(), PetscSolver< T >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), and write().
#define CH_STOP | ( | tpointer | ) |
Value:
{ \ tpointer->stop(&CH_Timermutex); \ }
Referenced by RK4DenseOutput< Soln, Rhs, EXOP >::advance(), ARK4DenseOutput< Soln, Rhs, IMEXOp >::advance(), BaseEBCellFAB< T >::copy(), PetscSolver< T >::setup_solver(), GMRESSolver< T >::solve(), BiCGStabSolver< T >::solve(), PetscSolver< T >::solve_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), and write().
#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) |
std::fstream LBFILE |