BloombergLP::bslmt::ThroughputBenchmark::estimateBusyWorkAmount

Return an estimate of the work amount so that busyWork invoked with the returned work amount executes, approximately, for the specified duration. Note that this estimate varies with system load.

Synopsis

Declared in <bslmt_throughputbenchmark.h>

static
bsls::Types::Int64
estimateBusyWorkAmount(bsls::TimeInterval duration);