Benchmark

This struct takes care of the time taking and outputting of the statistics.

Constructors

this
this(string funcname, size_t rounds, string filename)

The constructor for the Benchmark.

Destructor

~this
~this()
Undocumented in source.

Members

Functions

start
void start()

A call to this method will start the time taking process

stop
void stop()

A call to this method will stop the time taking process, and appends the execution time to the ticks member.

Variables

curRound
size_t curRound;
Undocumented in source.
dontWrite
bool dontWrite;
Undocumented in source.
filename
string filename;
Undocumented in source.
funcname
string funcname;
Undocumented in source.
medianStopWatch
real medianStopWatch;
Undocumented in source.
rounds
size_t rounds;
Undocumented in source.
startTime
MonoTimeImpl!(ClockType.precise) startTime;
Undocumented in source.
ticks
Appender!(Duration[]) ticks;
Undocumented in source.
ticksIndex
size_t ticksIndex;
Undocumented in source.
timeScale
string timeScale;
Undocumented in source.
timeSpend
Duration timeSpend;
Undocumented in source.

Meta