MADNESS 0.10.1
|
holds metadata of the calculation More...
#include <Results.h>
Public Member Functions | |
MetaDataResults (World &world) | |
std::string | key () const override |
void | stop () |
nlohmann::json | to_json () const override |
serialize the results to a JSON object | |
![]() | |
ResultsBase ()=default | |
virtual | ~ResultsBase ()=default |
Public Attributes | |
std::string | finished_at ="" |
std::string | git_hash ="" |
long | mpi_size =-1 |
double | time_begin =0.0 |
double | time_end =0.0 |
Private Member Functions | |
std::string | time_tag () const |
borrowed from Adrian's MolDFTLib | |
holds metadata of the calculation
create right before the calculation starts, stop() must be called after the calculation is finished
|
inline |
References mpi_size, madness::World::size(), time_begin, and madness::wall_time().
|
inlineoverridevirtual |
Implements madness::ResultsBase.
|
inline |
References finished_at, time_end, time_tag(), and madness::wall_time().
|
inlineprivate |
|
inlineoverridevirtual |
serialize the results to a JSON object
Implements madness::ResultsBase.
References finished_at, git_hash, mpi_size, madness::ThreadPool::size(), time_begin, time_end, time_tag(), and madness::wall_time().
std::string madness::MetaDataResults::git_hash ="" |
Referenced by to_json().
long madness::MetaDataResults::mpi_size =-1 |
Referenced by MetaDataResults(), and to_json().
double madness::MetaDataResults::time_begin =0.0 |
Referenced by MetaDataResults(), and to_json().