BLProfiler.cpp File Reference

#include <winstd.H>
#include <cstdio>
#include <cctype>
#include <cassert>
#include <cmath>
#include <iostream>
#include <fstream>
#include <iomanip>
#include <map>
#include <algorithm>
#include <vector>
#include <stack>
#include <limits>
#include <Profiler.H>
#include <Thread.H>
#include <ParallelDescriptor.H>
#include <ParmParse.H>

Include dependency graph for BLProfiler.cpp:


Functions

void spacer (std::ostream &os, int n, char c= ' ')
void show_name_field (std::ostream &, int level, const std::string &str)
void show_time_count (std::ostream &, int wd, double acc, int cnt)
void show_time (std::ostream &os, double time, int scale=1000)
void show_count (std::ostream &os, int count)
void aggregate_field_title (std::ostream &os)
std::ostream & operator<< (std::ostream &os, const timer_packet &tp)
void grovel (const ThreadTimerNode *nodes, const std::string &str, timer_packet &t)
std::string filename ("bl_prof")
void mma_dump ()
void show_time_count (std::ostream &os, int wd, double time, int count)
void show_time (std::ostream &os, double time, int scale)
void show_count (std::ostream &os, int count)
void show_name_field (std::ostream &os, int level, const std::string &str)
void aggregate_field_title (std::ostream &os)

Variables

std::map< std::string, int > tagr
std::map< int, std::string > inv_tagr
Mutex profiling_mutex
const int spcmult = 2
const int name_field_width = 40
const int name_field_bumper = 2
const int name_field_ellipse = 3
const int timer_field_width = 24
const int time_field_width = 14
const int count_field_width = 8
ThreadSpecificData< int > tt_i
Mutex tt_mutex
std::vector< ThreadTimerTree * > tt_data
bool verbose = false
bool mma = false

Function Documentation

void @11::aggregate_field_title ( std::ostream &  os  )  [static]

void @11::aggregate_field_title ( std::ostream &  os  )  [static]

std::string @11::filename ( "bl_prof"   )  [static]

Referenced by Profiler::Initialize(), and mma_dump().

void grovel ( const ThreadTimerNode *  nodes,
const std::string &  str,
timer_packet &  t 
)

References BoxLib::max(), and BoxLib::min().

void @11::mma_dump (  )  [static]

std::ostream& operator<< ( std::ostream &  os,
const timer_packet &  tp 
)

void @11::show_count ( std::ostream &  os,
int  count 
) [static]

References count_field_width.

void @11::show_count ( std::ostream &  os,
int  count 
) [static]

Referenced by operator<<().

void @11::show_name_field ( std::ostream &  os,
int  level,
const std::string &  str 
) [static]

void @11::show_name_field ( std::ostream &  ,
int  level,
const std::string &  str 
) [static]

Referenced by operator<<().

void @11::show_time ( std::ostream &  os,
double  time,
int  scale 
) [static]

References time_field_width.

void @11::show_time ( std::ostream &  os,
double  time,
int  scale = 1000 
) [static]

Referenced by operator<<().

void @11::show_time_count ( std::ostream &  os,
int  wd,
double  time,
int  count 
) [static]

void @11::show_time_count ( std::ostream &  ,
int  wd,
double  acc,
int  cnt 
) [static]

void @11::spacer ( std::ostream &  os,
int  n,
char  c = ' ' 
) [static]


Variable Documentation

const int count_field_width = 8 [static]

std::map<int, std::string> inv_tagr [static]

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

bool mma = false [static]

Referenced by Profiler::Initialize().

const int name_field_bumper = 2 [static]

Referenced by show_name_field().

const int name_field_ellipse = 3 [static]

Referenced by show_name_field().

const int name_field_width = 40 [static]

const int spcmult = 2 [static]

Referenced by show_name_field().

std::map<std::string, int> tagr [static]

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

const int time_field_width = 14 [static]

Referenced by aggregate_field_title(), and show_time().

const int timer_field_width = 24 [static]

std::vector<ThreadTimerTree*> tt_data [static]

ThreadSpecificData<int> tt_i [static]

Mutex tt_mutex [static]

Referenced by Profiler::Profiler().

bool verbose = false [static]

Referenced by Profiler::Initialize().


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