Block-Structured AMR Software Framework
AMReX_RegionsProfStats.cpp File Reference
#include <cstdio>
#include <iostream>
#include <fstream>
#include <string>
#include <utility>
#include <map>
#include <unordered_map>
#include <vector>
#include <algorithm>
#include <limits>
#include <iomanip>
#include <set>
#include <sys/time.h>
#include <unistd.h>
#include <AMReX_RegionsProfStats.H>
#include <AMReX_ParallelDescriptor.H>
#include <AMReX_Utility.H>
#include <AMReX_BLProfUtilities.H>

Macros

#define SHOWVAL(val)   { cout << #val << " = " << val << endl; }
 
#define PRINTCS(CS)
 
#define PRINTCSNC(CS)
 
#define IcsHTMLFile   csHTMLFile
 
#define IIcsHTMLFile   csHTMLFile
 
#define IcsHTMLFile   csHTMLFile
 
#define IIcsHTMLFile   csHTMLFile
 
#define PRINTCSTT(IOS, CS, DEL)
 
#define BL_CYCLEOPENS
 

Functions

const int XDIR (0)
 
const int YDIR (1)
 
const int ZDIR (2)
 
std::string SanitizeName (const std::string &s)
 

Macro Definition Documentation

◆ BL_CYCLEOPENS

#define BL_CYCLEOPENS

◆ IcsHTMLFile [1/2]

#define IcsHTMLFile   csHTMLFile

◆ IcsHTMLFile [2/2]

#define IcsHTMLFile   csHTMLFile

◆ IIcsHTMLFile [1/2]

#define IIcsHTMLFile   csHTMLFile

◆ IIcsHTMLFile [2/2]

#define IIcsHTMLFile   csHTMLFile

◆ PRINTCS

#define PRINTCS (   CS)
Value:
CS.csFNameNumber << " :: " << fNumberNames[CS.csFNameNumber] << " :: " \
<< CS.totalTime << " :: " << CS.stackTime << " :: " << \
((CS.totalTime > 0.0) ? (( 1.0 - (CS.stackTime / CS.totalTime)) * 100.0) : ( 0.0 )) \
<< " % :: " \
<< CS.nCSCalls << " :: " << CS.callStackDepth << " :: " \
<< CS.callTime

◆ PRINTCSNC

#define PRINTCSNC (   CS)
Value:
CS.csFNameNumber << " :: " << fNumberNames[CS.csFNameNumber] << " :: " \
<< CS.totalTime << " :: " << CS.stackTime << " :: " << \
((CS.totalTime > 0.0) ? (( 1.0 - (CS.stackTime / CS.totalTime)) * 100.0) : ( 0.0 )) \
<< " % :: " \
<< CS.nCSCalls << " :: " << CS.callStackDepth

◆ PRINTCSTT

#define PRINTCSTT (   IOS,
  CS,
  DEL 
)
Value:
for(int indent(0); indent < CS.callStackDepth; ++indent) \
{ IOS << "---|"; } IOS << DEL << CS.csFNameNumber \
<< DEL << fNumberNames[CS.csFNameNumber] << DEL << CS.totalTime << DEL << CS.stackTime \
<< DEL << CS.nCSCalls << DEL << CS.callStackDepth << DEL << CS.callTime << '\n';

◆ SHOWVAL

#define SHOWVAL (   val)    { cout << #val << " = " << val << endl; }

Function Documentation

◆ SanitizeName()

std::string SanitizeName ( const std::string &  s)

◆ XDIR()

const int XDIR ( )

◆ YDIR()

const int YDIR ( )

◆ ZDIR()

const int ZDIR ( )