allocationStatisticFor

fun allocationStatisticFor(descriptor: AbstractDescriptor): Statistic

Answer a Statistic for recording allocations for the given AbstractDescriptor. It will be cached within the descriptor for performance.

Parameters

descriptor

The AbstractDescriptor for which to find or create a Statistic.