#include <cstdlib>
#include <cstdio>
#include <vector>
#include <iostream>
#include "ClockTicks.H"
#include <sys/time.h>
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) 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() TraceTimer::report() |
#define | CH_TIMER_RESET() TraceTimer::reset() |
#define | CH_TIMER_PRUNE(threshold) TraceTimer::PruneTimersParentChildPercent(threshold) |
Functions | |
double | TimerGetTimeStampWC () |
#define CH_TIMER | ( | name, | |||
tpointer | ) |
Value:
const char* TimerTag_##tpointer = name ; \ TraceTimer* tpointer = TraceTimer::getTimer(TimerTag_##tpointer)
#define CH_TIME | ( | name | ) |
Value:
const char* TimerTagA = name ; \ char CH_TimermutexA = 0; \ TraceTimer* ch_tpointer = TraceTimer::getTimer(TimerTagA); \ AutoStart autostart(ch_tpointer, &CH_TimermutexA)
#define CH_TIMELEAF | ( | name | ) |
Value:
const char* TimerTagA = name ; \ TraceTimer* ch_tpointer = TraceTimer::getTimer(TimerTagA); \ AutoStartLeaf autostart(ch_tpointer)
#define CH_TIMERS | ( | name | ) |
Value:
const char* TimerTagA = name ; \ char CH_TimermutexA = 0; \ char CH_Timermutex = 0; \ TraceTimer* ch_tpointer = TraceTimer::getTimer(TimerTagA); \ AutoStart autostart(ch_tpointer, &CH_TimermutexA, &CH_Timermutex)
Referenced by Stencil< T >::apply(), componentApply(), RectMDArray< T, C, D, E >::copyTo(), LevelData< T, C, D, E >::copyTo(), LevelData< T, C, D, E >::exchange(), and LevelData< T, C, D, E >::getNeighbor().
#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 | ( | ) | TraceTimer::report() |
#define CH_TIMER_RESET | ( | ) | TraceTimer::reset() |
#define CH_TIMER_PRUNE | ( | threshold | ) | TraceTimer::PruneTimersParentChildPercent(threshold) |
double TimerGetTimeStampWC | ( | ) | [inline] |