CH_Timer.H File Reference

#include <cstdio>
#include "REAL.H"
#include "MayDay.H"
#include "Vector.H"
#include "ClockTicks.H"
#include <unistd.h>
#include <sys/time.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  OldTimer
class  TraceTimer
class  AutoStartLeaf
class  AutoStart

Defines

#define TIMER_COUNTER   0
#define CH_TIMER(name, tpointer)
#define CH_TIME(name)
#define CH_TIMELEAF(name)
#define CH_TIMERS(name)
#define CH_START(tpointer)   tpointer->start(&CH_Timermutex)
#define CH_STOP(tpointer)   tpointer->stop(&CH_Timermutex)
#define CH_STOPV(tpointer, val)   val = tpointer->stop(&CH_Timermutex)
#define CH_TIMER_REPORT()   CH_XD::TraceTimer::report()
#define CH_TIMER_RESET()   CH_XD::TraceTimer::reset()
#define CH_TIMER_PRUNE(threshold)   CH_XD::TraceTimer::PruneTimersParentChildPercent(threshold)

Functions

double TimerGetTimeStampWC ()


Define Documentation

#define TIMER_COUNTER   0

#define CH_TIMER ( name,
tpointer   ) 

Value:

const char* TimerTag_##tpointer = name ;                             \
  CH_XD::TraceTimer* tpointer = CH_XD::TraceTimer::getTimer(TimerTag_##tpointer)

Referenced by BaseEBCellFAB< T >::copy(), BiCGStabSolver< T >::solve(), and AMRMultiGrid< T >::solveNoInit().

#define CH_TIME ( name   ) 

Value:

const char* TimerTagA = name ;                                       \
  char CH_TimermutexA = 0;                                              \
  CH_XD::TraceTimer* ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
  CH_XD::AutoStart autostart(ch_tpointer, &CH_TimermutexA)

Referenced by MultilevelLinearOp< T >::applyOp(), MultilevelLinearOp< T >::assign(), MultilevelLinearOp< T >::axby(), MultilevelLinearOp< T >::clear(), AMRMultiGrid< T >::computeAMRResidual(), AMRMultiGrid< T >::computeAMRResidualLevel(), CutCellMoments< dim >::computeMoments(), LevelData< T >::copyTo(), MultilevelLinearOp< T >::create(), CutCellMoments< dim >::CutCellMoments(), MultilevelLinearOp< T >::define(), MultiGrid< T >::define(), LevelData< T >::define(), AMRMultiGrid< T >::define(), MultilevelLinearOp< T >::dotProduct(), LevelData< T >::exchange(), LevelData< T >::exchangeBegin(), LevelData< T >::exchangeEnd(), LevelData< T >::exchangeNoOverlap(), IFData< dim >::IFData(), MultilevelLinearOp< T >::incr(), MultiGrid< T >::init(), AMRMultiGrid< T >::init(), BoxLayoutData< T >::makeItSoBegin(), BoxLayoutData< T >::makeItSoLocalCopy(), MultilevelLinearOp< T >::norm(), MultilevelLinearOp< T >::preCond(), 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(), AMRMultiGrid< T >::solveNoInit(), AMRMultiGrid< T >::~AMRMultiGrid(), LayoutData< T >::~LayoutData(), and MultilevelLinearOp< T >::~MultilevelLinearOp().

#define CH_TIMELEAF ( name   ) 

Value:

const char* TimerTagA = name ;                                       \
  CH_XD::TraceTimer* ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
  CH_XD::AutoStartLeaf autostart(ch_tpointer)

#define CH_TIMERS ( name   ) 

Value:

const char* TimerTagA = name ;                                       \
  char CH_TimermutexA = 0;                                              \
  char CH_Timermutex = 0;                                               \
  CH_XD::TraceTimer* ch_tpointer = CH_XD::TraceTimer::getTimer(TimerTagA); \
  CH_XD::AutoStart autostart(ch_tpointer, &CH_TimermutexA, &CH_Timermutex)

Referenced by BaseEBCellFAB< T >::copy(), BiCGStabSolver< T >::solve(), and AMRMultiGrid< T >::solveNoInit().

#define CH_START ( tpointer   )     tpointer->start(&CH_Timermutex)

#define CH_STOP ( tpointer   )     tpointer->stop(&CH_Timermutex)

#define CH_STOPV ( tpointer,
val   )     val = tpointer->stop(&CH_Timermutex)

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

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

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


Function Documentation

double TimerGetTimeStampWC (  )  [inline]


Generated on Tue Apr 14 14:20:26 2009 for Chombo + EB by  doxygen 1.5.5