ProfileResults

Collect profiling results.

Constructors

this
this()
Undocumented in source.
this
this(typeof(results) results)
Undocumented in source.

Members

Functions

add
void add(string name, Duration time)

Add time to name.

set
void set(string name, Duration time)

Set name to time.

toRows
Result[] toRows()

Returns;

toString
string toString()

This is an example from clang-tidy for how it could be reported to the user. For now it is *just* reported as it is running.

totalTime
Duration totalTime()

Structs

Result
struct Result
Undocumented in source.

Variables

results
Duration[string] results;

The profiling for the same name is accumulated.

Meta