DYNAMIC_LOOKUP

A report of how long and deep dynamic lookups are.

Functions

Link copied to clipboard
fun clear()

Clear all my Statistics.

Link copied to clipboard
fun registerStatistic(statistic: Statistic): Boolean

Register a Statistic with this StatisticReport. This happens when the statistic is first created, as part of its constructor. Access to the List of statistics is synchronized on the list, to ensure atomic access among registrations and between registrations and enumeration of the list.

Link copied to clipboard
fun sortedPairs(): MutableList<Pair<String, PerInterpreterStatistic>>

Collect the aggregates of my statistics, filter out the ones with zero counts, then sort descending by their sums. Maintain names with the aggregated statistics as Pairs.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int
Link copied to clipboard
val title: String

The title of the StatisticReport.

Link copied to clipboard
val unit: ReportingUnit

The units which the contained reports use.