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

Defines

#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)


Define Documentation

#define CH_TIMER ( name,
tpointer   ) 

#define CH_TIME ( name   ) 

Value:

const char* TimerTagA = name ;                                       \
  char CH_TimermutexA = 0;                                              \
  CH_XD::TraceTimer* ch_tpointer = NULL;                                       \
  _Pragma("omp master")                                                 \
  {                                                                    \
    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(), MultilevelLinearOp< T >::applyOp(), MultilevelLinearOp< T >::assign(), MultilevelLinearOp< T >::axby(), blockWrite(), AggStencil< srcData_t, dstData_t >::cache(), MultilevelLinearOp< T >::clear(), AMRFASMultiGrid< T >::clear_private(), AMRMultiGrid< T >::computeAMROperator(), AMRMultiGrid< T >::computeAMRResidual(), AMRMultiGrid< T >::computeAMRResidualLevel(), CoordinateSystem< dim >::CoordinateSystem(), BaseEBCellFAB< T >::copy(), LevelData< T >::copyTo(), MultilevelLinearOp< T >::create(), PetscSolver< T >::create_mat_vec(), MultiGrid< T >::cycle(), MultilevelLinearOp< T >::define(), MultiGrid< T >::define(), LevelData< T >::define(), AMRFASMultiGrid< T >::define(), AMRMultiGrid< T >::define(), MultilevelLinearOp< T >::dotProduct(), LevelData< T >::exchange(), LevelData< T >::exchangeBegin(), LevelData< T >::exchangeEnd(), LevelData< T >::exchangeNoOverlap(), getOffsets(), MultilevelLinearOp< T >::incr(), MultiGrid< T >::init(), AMRFASMultiGrid< T >::init(), AMRMultiGrid< T >::init(), BoxLayoutData< T >::makeItSoBegin(), BoxLayoutData< T >::makeItSoLocalCopy(), MultilevelLinearOp< T >::norm(), MultiGrid< T >::oneCycle(), MultilevelLinearOp< T >::preCond(), read(), regionGather(), AMRMultiGrid< T >::relax(), AMRMultiGrid< T >::relaxOnlyHomogeneous(), MultilevelLinearOp< T >::residual(), AMRMultiGrid< T >::revert(), MultilevelLinearOp< T >::scale(), MultilevelLinearOp< T >::setToZero(), RelaxSolver< T >::solve(), MultiGrid< T >::solve(), MergeSolver< T >::solve(), BiCGStabSolver< T >::solve(), AMRMultiGrid< T >::solve(), PetscSolver< T >::solve_mfree_private(), AMRFASMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::solveNoInitResid(), AggStencil< srcData_t, dstData_t >::uncache(), AMRFASMultiGrid< T >::VCycle(), write(), AMRFASMultiGrid< T >::~AMRFASMultiGrid(), AMRMultiGrid< T >::~AMRMultiGrid(), BoxLayoutData< T >::~BoxLayoutData(), 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; \
  _Pragma("omp master")                                                 \
  {                                                                    \
    ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA);                     \
  }                                                                    \
  CH_XD::AutoStartLeaf autostart(ch_tpointer)

Referenced by read(), and write().

#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)


Generated on Sat Feb 17 03:58:23 2018 for Chombo + EB by  doxygen 1.5.5