50 "SBuf stats:\nnumber of allocations: "
53 "\nlive references: "
55 "\nclearing operations: "
56 "\nappend operations: "
57 "\nmove operations: "
62 "\ncomparisons not requiring data-scan: "
63 "\ncopy-out ops: "
64 "\nraw access to memory: "
66 "\nchop operations: "
67 "\ntrim operations: "
70 "\nCOW not actually requiring a copy: "
72 "\naverage store share factor: "
!= 0 ? static_cast<float>
: 0) <<
number of currently-allocated SBuf
number of chop operations
number of write operations to ostreams
number of calls to SBuf copy-constructor
number of no-copy assignment operations
number of MemBlob instances currently alive
static const MemBlobStats & GetStats()
obtain a const view of class-wide statistics
number of append operations
number of accesses to raw contents
number of calls to SBuf constructors
number of trim operations
number of clear operations
number of comparison operations requiring data scan
number of data-copies to other forms of buffers
number of find operations
number of cow operations not actually requiring a copy
number of toUpper and toLower operations
number of move constructions/assignments
Various MemBlob class-wide statistics.
number of comparison operations not requiring data scan
number of calls to setAt
SBufStats & operator+=(const SBufStats &)
number of copy-allocations from c-strings
std::ostream & dump(std::ostream &os) const
Dump statistics to an ostream.
number of c_str() terminations
number of calls to at() and operator
number of cow operations requiring a copy