StatsCollector.PerCallStatistics

Defined if perCallFlags is nonzero.

struct StatsCollector(Allocator, ulong flags = Options.all, ulong perCallFlags = 0)
static if(perCallFlags)
struct PerCallStatistics {}

Members

Functions

toString
string toString()

Format to a string such as: mymodule.d(655): [numAllocate:21, numAllocateOK:21, bytesAllocated:324202].

Variables

file
string file;
line
uint line;

The file and line of the call.

opts
Options[] opts;

The options corresponding to the statistics collected.

values
ulong[] values;

The values of the statistics. Has the same length as opts.

Meta