sample

fun <T> sample(operation: () -> T): T(source)

Preserves a declared JMH monitoring window without downstream checkpoint scheduling. This records work without adding another timer or changing the JMH harness boundary.