Perform arithmetic operations to consume an amount of time in linear relation to the specified busyWorkAmount.
Synopsis
Declared in <bslmt_throughputbenchmark.h>
static
void
busyWork(bsls::Types::Int64 busyWorkAmount);
Description
Note that the duration of busyWork invoked with a particular busyWorkAmount will vary with system load.
Parameters
Name |
Description |
busyWorkAmount |
amount of simulated work to perform |
Created with MrDocs