Celeritas
0.5.0-86+4a8eea4
|
Functions | |
void | celeritas::to_json (nlohmann::json &j, MemUsageEntry const &entry) |
Write one kernel's metadata to JSON. More... | |
void | celeritas::to_json (nlohmann::json &j, MemRegistry const &mr) |
Write kernel metadata out to JSON. | |
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.