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