| Celeritas 0.7.0-dev.170+develop.df22d2a88
    | 
Track memory usage across the application. More...
#include <MemRegistry.hh>
| Public Member Functions | |
| MemUsageId::size_type | size () const | 
| Number of entries. | |
| MemUsageEntry & | get (MemUsageId id) | 
| Get the entry for an ID. | |
| MemUsageEntry const & | get (MemUsageId id) const | 
| Get the entry for an ID. | |
| MemUsageId | push () | 
| Create a new entry and push it onto the stack. | |
| void | pop () | 
| Pop the last entry. | |
Track memory usage across the application.
This class is not thread-safe and should generally be used during setup. The memory usage entries are a tree. Pushing and popping should be done with ScopedMem .