Return an estimate of the work amount so that busyWork invoked with the returned work amount executes, approximately, for the specified duration.
Declared in <bslmt_throughputbenchmark.h>
static
bsls::Types::Int64
estimateBusyWorkAmount(bsls::TimeInterval duration);
Note that this estimate varies with system load.
estimated work amount for the specified duration
| Name | Description |
|---|---|
| duration | target duration of the simulated work |