record
Record a sample in my PerInterpreterStatistic having the specified contention-avoidance index.
Parameters
sample
The sample to add.
index
The index specifying which PerInterpreterStatistic to add the sample to.
Record a sample in my PerInterpreterStatistic having the specified contention-avoidance index.
Parameters
sample
The Long sample to add.
index
The index specifying which PerInterpreterStatistic to add the sample to.
Perform the body, recording the time it took in the receiver. Answer the value produced by the body.