DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::linearAlgebra::LinearAlgebraProfiler Class Reference

#include <LinearAlgebraProfiler.h>

Public Types

using Time = time_t
 

Public Member Functions

 LinearAlgebraProfiler (std::ostream &stream=std::cout, const size_type printFreq=PrintControlDefaults::PRINT_FREQ, const size_type wallTimeFreq=PrintControlDefaults::WALL_TIME_FREQ, const ParallelPrintType printType=PrintControlDefaults::PARALLEL_PRINT_TYPE, const bool printFinal=PrintControlDefaults::PRINT_FINAL, const bool printTotalWallTime=PrintControlDefaults::PRINT_TOTAL_WALL_TIME, const size_type precision=PrintControlDefaults::PRECISION, const std::string delimiter=PrintControlDefaults::DELIMITER)
 
void registerStart (const utils::mpi::MPIComm &mpiComm)
 
void registerEnd (const std::string &s)
 
void registerIterStart (const size_type iter)
 
void registerIterEnd (const std::string &s)
 
size_type getPrintFrequency () const
 
size_type getWallTimeFrequency () const
 
ParallelPrintType getParallelPrintType () const
 
bool getPrintFinal () const
 
bool getPrintTotalWallTime () const
 
size_type getPrecision () const
 
std::string getDelimiter () const
 

Private Attributes

std::ostream & d_stream
 
size_type d_printFreq
 
size_type d_wallTimeFreq
 
ParallelPrintType d_printType
 
bool d_printFinal
 
bool d_printTotalWallTime
 
Time d_tStart
 
Time d_tEnd
 
Time d_tIterStart
 
Time d_tIterEnd
 
size_type d_precision
 
std::string d_delimiter
 
utils::mpi::MPIComm d_mpiComm
 
int d_myRank
 
size_type d_iter
 
bool d_myRankPrintFlag
 
std::string d_myRankStringPrefix
 

Member Typedef Documentation

◆ Time

Constructor & Destructor Documentation

◆ LinearAlgebraProfiler()

dftefe::linearAlgebra::LinearAlgebraProfiler::LinearAlgebraProfiler ( std::ostream &  stream = std::cout,
const size_type  printFreq = PrintControlDefaults::PRINT_FREQ,
const size_type  wallTimeFreq = PrintControlDefaults::WALL_TIME_FREQ,
const ParallelPrintType  printType = PrintControlDefaults::PARALLEL_PRINT_TYPE,
const bool  printFinal = PrintControlDefaults::PRINT_FINAL,
const bool  printTotalWallTime = PrintControlDefaults::PRINT_TOTAL_WALL_TIME,
const size_type  precision = PrintControlDefaults::PRECISION,
const std::string  delimiter = PrintControlDefaults::DELIMITER 
)

Member Function Documentation

◆ getDelimiter()

std::string dftefe::linearAlgebra::LinearAlgebraProfiler::getDelimiter ( ) const

◆ getParallelPrintType()

ParallelPrintType dftefe::linearAlgebra::LinearAlgebraProfiler::getParallelPrintType ( ) const

◆ getPrecision()

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::getPrecision ( ) const

◆ getPrintFinal()

bool dftefe::linearAlgebra::LinearAlgebraProfiler::getPrintFinal ( ) const

◆ getPrintFrequency()

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::getPrintFrequency ( ) const

◆ getPrintTotalWallTime()

bool dftefe::linearAlgebra::LinearAlgebraProfiler::getPrintTotalWallTime ( ) const

◆ getWallTimeFrequency()

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::getWallTimeFrequency ( ) const

◆ registerEnd()

void dftefe::linearAlgebra::LinearAlgebraProfiler::registerEnd ( const std::string &  s)
Here is the call graph for this function:

◆ registerIterEnd()

void dftefe::linearAlgebra::LinearAlgebraProfiler::registerIterEnd ( const std::string &  s)
Here is the call graph for this function:

◆ registerIterStart()

void dftefe::linearAlgebra::LinearAlgebraProfiler::registerIterStart ( const size_type  iter)
Here is the call graph for this function:

◆ registerStart()

void dftefe::linearAlgebra::LinearAlgebraProfiler::registerStart ( const utils::mpi::MPIComm mpiComm)
Here is the call graph for this function:

Member Data Documentation

◆ d_delimiter

std::string dftefe::linearAlgebra::LinearAlgebraProfiler::d_delimiter
private

◆ d_iter

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::d_iter
private

◆ d_mpiComm

utils::mpi::MPIComm dftefe::linearAlgebra::LinearAlgebraProfiler::d_mpiComm
private

◆ d_myRank

int dftefe::linearAlgebra::LinearAlgebraProfiler::d_myRank
private

◆ d_myRankPrintFlag

bool dftefe::linearAlgebra::LinearAlgebraProfiler::d_myRankPrintFlag
private

◆ d_myRankStringPrefix

std::string dftefe::linearAlgebra::LinearAlgebraProfiler::d_myRankStringPrefix
private

◆ d_precision

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::d_precision
private

◆ d_printFinal

bool dftefe::linearAlgebra::LinearAlgebraProfiler::d_printFinal
private

◆ d_printFreq

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::d_printFreq
private

◆ d_printTotalWallTime

bool dftefe::linearAlgebra::LinearAlgebraProfiler::d_printTotalWallTime
private

◆ d_printType

ParallelPrintType dftefe::linearAlgebra::LinearAlgebraProfiler::d_printType
private

◆ d_stream

std::ostream& dftefe::linearAlgebra::LinearAlgebraProfiler::d_stream
private

◆ d_tEnd

Time dftefe::linearAlgebra::LinearAlgebraProfiler::d_tEnd
private

◆ d_tIterEnd

Time dftefe::linearAlgebra::LinearAlgebraProfiler::d_tIterEnd
private

◆ d_tIterStart

Time dftefe::linearAlgebra::LinearAlgebraProfiler::d_tIterStart
private

◆ d_tStart

Time dftefe::linearAlgebra::LinearAlgebraProfiler::d_tStart
private

◆ d_wallTimeFreq

size_type dftefe::linearAlgebra::LinearAlgebraProfiler::d_wallTimeFreq
private

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