25 size_t anbytes,
size_t anblocks)
26 : name(aname), nbytes(anbytes), nblocks(anblocks)
33 void AddName (
const string & aname) { name += aname; }
34 const string & Name()
const {
return name; }
35 size_t NBytes ()
const {
return nbytes; }
36 size_t NBlocks ()
const {
return nblocks; }
Reports amount of used memory.
Definition: memusage.hpp:16
namespace for standard data types and algorithms.
Definition: ngstd.hpp:81