[#BloombergLP-bslmt-ThroughputBenchmark-estimateBusyWorkAmount]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmark.adoc[ThroughputBenchmark]::estimateBusyWorkAmount
:relfileprefix: ../../../
:mrdocs:

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

== Synopsis

Declared in `&lt;bslmt&lowbar;throughputbenchmark&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
static
xref:BloombergLP/bsls/Types/Int64.adoc[bsls::Types::Int64]
estimateBusyWorkAmount(xref:BloombergLP/bsls/TimeInterval.adoc[bsls::TimeInterval] duration);
----


[.small]#Created with https://www.mrdocs.com[MrDocs]#
