LookupStatistics

class LookupStatistics(baseName: String, report: StatisticReport)

A helper class holding a pair of Statistics, one by the amount of time for each dynamic lookup, and one by the depth traveled within the lookup tree.

Constructors

Link copied to clipboard
fun LookupStatistics(baseName: String, report: StatisticReport)

Functions

Link copied to clipboard
fun recordDynamicLookup(nanos: Double, depth: Int)

Record the fact that a lookup has just taken place, that it took the given time in nanoseconds, and that it reached the given depth.