|
Celeritas 0.7.0-dev.172+develop.fe2a0acd4
|
#include "MemRegistryIO.json.hh"#include "corecel/cont/Range.hh"#include "corecel/math/QuantityIO.json.hh"Macros | |
| #define | MRIO_MEM_OUT(MEMBER) |
Functions | |
| void | celeritas::to_json (nlohmann::json &j, MemUsageEntry const &entry) |
| Write one kernel's metadata to JSON. | |
| void | celeritas::to_json (nlohmann::json &j, MemRegistry const &mr) |
| Write kernel metadata out to JSON. | |
| #define MRIO_MEM_OUT | ( | MEMBER | ) |
| void celeritas::to_json | ( | nlohmann::json & | j, |
| MemUsageEntry const & | entry | ||
| ) |
Write one kernel's metadata to JSON.
If the registry is dumped before a "scoped memory" saves the memory results, no entries will be written. Parent indices are only written for child nodes.