dune-pdelab 2.7-git
|
#include <cstddef>
#include <iomanip>
#include <ios>
#include <ostream>
#include <memory>
#include <sys/types.h>
#include <unistd.h>
#include <mpi.h>
#include <dune/common/ios_state.hh>
#include <dune/pdelab/common/clock.hh>
#include <dune/pdelab/common/hostname.hh>
#include "logtag.hh"
Namespaces | |
namespace | Dune |
For backward compatibility – Do not use this! | |
namespace | Dune::PDELab |
Functions | |
std::shared_ptr< LogtagFormatterBase > | Dune::PDELab::makeGeneralLogtagFormatter (std::ostream &(&formatFunc)(std::ostream &)) |
Convenience function to create a GeneralLogtagFormatter. More... | |
const std::shared_ptr< LogtagFormatterBase > & | Dune::PDELab::getLogtagFormatter () |
get the log tag formatter currently used by logtag() More... | |
void | Dune::PDELab::setLogtagFormatter (const std::shared_ptr< LogtagFormatterBase > &formatter=std::shared_ptr< LogtagFormatterBase >()) |
set a new log tag formatter to be used by logtag() More... | |
std::ostream & | Dune::PDELab::logtag (std::ostream &s) |
function that writes a log tag to some stream More... | |
void | Dune::PDELab::logtagSetupMPI (bool syncWidthes=true) |
collect MPI information for the logtag formatters More... | |
std::ostream & | Dune::PDELab::hostRankWallUserLogtagFormatFunc (std::ostream &s) |
logtag format function that includes hostname, rank (if available), wall time and CPU time More... | |
std::ostream & | Dune::PDELab::hostPidWallUserLogtagFormatFunc (std::ostream &s) |
logtag format function that includes host name, pid, wall time and CPU time More... | |
std::ostream & | Dune::PDELab::nullFormatFunc (std::ostream &s) |
logtag format function that does not write anything More... | |