wavelength 1.0.0
Loading...
Searching...
No Matches
AllocInfo.h
Go to the documentation of this file.
1#pragma once
2
3#include "utl/PrnStream.h"
4
11class AllocInfo {
12public:
19 void Print(PrnStream &stream) const;
20
28 bool operator<(const AllocInfo &other) const;
29
31 int mSizeActual;
32 const char *mName;
33 const char *mPoolName;
34 int mPoolSize;
35};
Record of one tracked allocation: its sizes, its tags, and the call stack that made it.
Definition allocinfo.h:11
int mSizeReq
Definition AllocInfo.h:30
void Print(PrnStream &stream) const
Print the pool name and node size, or else the name and requested size.
const char * mPoolName
Definition AllocInfo.h:33
bool operator<(const AllocInfo &other) const
Order by requested size, pool node size, name, and pool name.
const char * mName
Definition AllocInfo.h:32
Text output stream.
Definition prnstream.h:16