ProfileResults

Collect profiling results

Constructors

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

Members

Aliases

Result
alias Result = Tuple!(string, "name", Duration, "time", double, "ratio")
Undocumented in source.

Functions

put
void put(string name, Duration time)
Undocumented in source. Be warned that the author may not have intended to support it.
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()

Variables

results
Duration[string] results;

The profiling for the same name is accumulated.

Meta