#include <AMReX_MemProfiler.H>
|
static void | add (const std::string &name, std::function< MemInfo()> &&f) |
|
static void | add (const std::string &name, std::function< NBuildsInfo()> &&f) |
|
static void | report (const std::string &prefix=std::string()) |
|
static void | Finalize () |
|
|
void | report_ (const std::string &prefix, const std::string &memory_log_name) const |
|
◆ MemProfiler() [1/2]
amrex::MemProfiler::MemProfiler |
( |
const MemProfiler & |
| ) |
|
|
delete |
◆ MemProfiler() [2/2]
amrex::MemProfiler::MemProfiler |
( |
| ) |
|
|
inline |
◆ ~MemProfiler()
amrex::MemProfiler::~MemProfiler |
( |
| ) |
|
|
inline |
◆ add() [1/2]
void amrex::MemProfiler::add |
( |
const std::string & |
name, |
|
|
std::function< MemInfo()> && |
f |
|
) |
| |
|
static |
◆ add() [2/2]
void amrex::MemProfiler::add |
( |
const std::string & |
name, |
|
|
std::function< NBuildsInfo()> && |
f |
|
) |
| |
|
static |
◆ Finalize()
void amrex::MemProfiler::Finalize |
( |
| ) |
|
|
static |
◆ getInstance()
◆ operator=()
◆ report()
void amrex::MemProfiler::report |
( |
const std::string & |
prefix = std::string() | ) |
|
|
static |
◆ report_()
void amrex::MemProfiler::report_ |
( |
const std::string & |
prefix, |
|
|
const std::string & |
memory_log_name |
|
) |
| const |
|
private |
◆ operator<< [1/2]
◆ operator<< [2/2]
◆ the_funcs
std::vector<std::function<MemInfo()> > amrex::MemProfiler::the_funcs |
|
private |
◆ the_funcs_builds
std::vector<std::function<NBuildsInfo()> > amrex::MemProfiler::the_funcs_builds |
|
private |
◆ the_instance
std::unique_ptr< MemProfiler > amrex::MemProfiler::the_instance = nullptr |
|
staticprivate |
◆ the_names
std::vector<std::string> amrex::MemProfiler::the_names |
|
private |
◆ the_names_builds
std::vector<std::string> amrex::MemProfiler::the_names_builds |
|
private |
The documentation for this class was generated from the following files: