[#BloombergLP-balm-StopwatchScopedGuard-2constructor-09]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/balm.adoc[balm]::xref:BloombergLP/balm/StopwatchScopedGuard.adoc[StopwatchScopedGuard]::StopwatchScopedGuard
:relfileprefix: ../../../
:mrdocs:

Create a scoped guard for the specified `category`, `name`, and `timeUnits`, optionally using the specified `manager`&period;

== Synopsis

Declared in `&lt;balm&lowbar;stopwatchscopedguard&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
StopwatchScopedGuard(
    char const* category,
    char const* name,
    xref:BloombergLP/balm/StopwatchScopedGuard/Units.adoc[Units] timeUnits,
    xref:BloombergLP/balm/MetricsManager.adoc[MetricsManager]* manager = 0);
----


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