MADNESS
0.10.1
|
#include <madness/madness_config.h>
#include <string>
#include <cstddef>
#include <fstream>
#include <sstream>
Go to the source code of this file.
Classes | |
class | madness::WorldMemInfo |
Used to output memory statistics and control tracing, etc. More... | |
Namespaces | |
madness | |
File holds all helper structures necessary for the CC_Operator and CC2 class. | |
madness::detail | |
Functions | |
void | madness::print_meminfo_disable () |
disables print_meminfo() profiling (i.e. calling it is a no-op) More... | |
void | madness::print_meminfo_enable () |
bool | madness::print_meminfo_enabled () |
bool & | madness::detail::print_meminfo_flag_accessor () |
bool | madness::print_meminfo_keep_ostream_open () |
void | madness::print_meminfo_keep_ostream_open (bool keep_open) |
std::basic_ofstream< wchar_t > & | madness::print_meminfo_ostream (int rank, const std::string filename_prefix) |
template<typename Char > | |
const Char * | madness::detail::Vm_cstr () |
WorldMemInfo * | madness::world_mem_info () |
Returns pointer to internal structure. More... | |
print_meminfo | |
These functions are useful to instrument aggregate (not fine-grained, like WorldMemInfo) memory profiling.
| |
template<typename String > | |
void | madness::print_meminfo (int rank, const String &tag, const std::string filename_prefix=std::string("MEMORY"), bool verbose=false) |
print aggregate memory stats to file filename_prefix .<rank> , tagged with tag More... | |