[#util-TokenBucket-increment]
= xref:util.adoc[util]::xref:util/TokenBucket.adoc[TokenBucket]::increment
:relfileprefix: ../../
:mrdocs:

Refill tokens based on elapsed time since last call&period; No refill occurs on the first call (establishes the time baseline)&period;

== Synopsis

Declared in `&lt;util&sol;tokenbucket&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
increment(xref:util/TokenBucket/time_point.adoc[time&lowbar;point] const& now);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *now*
| The current time, used to compute the elapsed interval&period;
|===


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