Profiler Class Reference

#include <Profiler.H>

Collaboration diagram for Profiler:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 Profiler (const Tag &tag_, bool hold=false)
void start ()
void stop ()
 ~Profiler ()

Static Public Member Functions

static void on ()
static void off ()
static bool is_profiling ()
static std::string clean_name (const std::string &str)
static void Initialize ()
static void Finalize ()

Classes

class  Tag


Constructor & Destructor Documentation

Profiler::Profiler ( const Tag tag_,
bool  hold = false 
)

References start(), tt_data, tt_i, and tt_mutex.

Profiler::~Profiler (  ) 

References stop().


Member Function Documentation

void Profiler::start (  ) 

References BL_ASSERT, Profiler::Tag::name(), tt_data, and tt_i.

Referenced by Profiler().

void Profiler::stop (  ) 

References BL_ASSERT, tt_data, and tt_i.

Referenced by ~Profiler().

void Profiler::on (  )  [static]

References profiling_mutex.

void Profiler::off (  )  [static]

References profiling_mutex.

bool Profiler::is_profiling (  )  [static]

References profiling_mutex.

Referenced by Profiler::Tag::Tag().

std::string Profiler::clean_name ( const std::string &  str  )  [static]

void Profiler::Initialize (  )  [static]

void Profiler::Finalize (  )  [static]


The documentation for this class was generated from the following files:

Generated on Fri Nov 21 10:11:03 2008 for AMRParticlePaths by  doxygen 1.5.5