MCPcopy Create free account
hub / github.com/LBANN/lbann / MemUsage

Class MemUsage

src/callbacks/memory_profiler.cpp:155–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

153
154namespace {
155struct MemUsage
156{
157 std::string report;
158 size_t total_mem;
159
160 MemUsage(const std::string& r, size_t m) : report(r), total_mem(m) {}
161 bool operator<(const MemUsage& other) { return total_mem < other.total_mem; }
162};
163} // namespace
164
165void memory_profiler::report_mem_usage(model* m)

Callers 1

report_mem_usageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected