[#BloombergLP-bslmt-ThroughputBenchmark-execute-06] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bslmt.adoc[bslmt]::xref:BloombergLP/bslmt/ThroughputBenchmark.adoc[ThroughputBenchmark]::execute :relfileprefix: ../../../ :mrdocs: `execute` overloads == Synopses Declared in `<bslmt_throughputbenchmark.h>` Run previously added thread groups and store benchmark results. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslmt/ThroughputBenchmark/execute-0d.adoc[execute]( xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]* result, int millisecondsPerSample, int numSamples); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmark/execute-0d.adoc[_» more..._]# Run previously added thread groups with sample‐level hooks. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void xref:BloombergLP/bslmt/ThroughputBenchmark/execute-04.adoc[execute]( xref:BloombergLP/bslmt/ThroughputBenchmarkResult.adoc[ThroughputBenchmarkResult]* result, int millisecondsPerSample, int numSamples, xref:BloombergLP/bslmt/ThroughputBenchmark/InitializeSampleFunction.adoc[InitializeSampleFunction] const& initializeFunctor, xref:BloombergLP/bslmt/ThroughputBenchmark/ShutdownSampleFunction.adoc[ShutdownSampleFunction] const& shutdownFunctor, xref:BloombergLP/bslmt/ThroughputBenchmark/CleanupSampleFunction.adoc[CleanupSampleFunction] const& cleanupFunctor); ---- [.small]#xref:BloombergLP/bslmt/ThroughputBenchmark/execute-04.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#