[#BloombergLP-balb-LeakyBucket-getStatistics]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balb.adoc[balb]::xref:BloombergLP/balb/LeakyBucket.adoc[LeakyBucket]::getStatistics
:relfileprefix: ../../../
:mrdocs:

Load, into the specified `submittedUnits` and the specified `unusedUnits` respectively, the numbers of submitted units and the number of unused units for this leaky bucket from the `statisticsCollectionStartTime` to the `lastUpdateTime`&period; The number of unused units is the difference between the number of units that could have been consumed and the number of units actually submitted for the time period&period;

== Synopsis

Declared in `&lt;balb&lowbar;leakybucket&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
getStatistics(
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* submittedUnits,
    xref:BloombergLP/bsls/Types/Uint64.adoc[bsls::Types::Uint64]* unusedUnits) const;
----


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