BloombergLP::bsls::Stopwatch::Stopwatch

Create a copy of the specified other stopwatch.

Synopsis

Declared in <bsls_stopwatch.h>

constexpr
Stopwatch(Stopwatch const& other) = default;

Description

Create a stopwatch having the state and total accumulated system, user, and wall time of the specified other object. Note that this method's definition is compiler generated.

Parameters

NameDescription
otherstopwatch whose state and accumulated times are copied