BloombergLP::bslmt::ThroughputBenchmark::antiOptimization

Return the value calculated by busyWork.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

static
unsigned int
antiOptimization();

Description

Note that this method is provided to prevent the compiler from optimizing the simulated workload away.

Return Value

value calculated by busyWork