stopwatch_constructor

September 14, 2025 ยท View on GitHub

Initializes a xtd::diagnostics::stopwatch instance by using a simple class constructor.

Sources

  • src/stopwatch_constructor.cpp
  • CMakeLists.txt

Build and run

Open "Command Prompt" or "Terminal". Navigate to the folder that contains the project and type the following:

xtdc run

Output

RunTime 00:00:10.00

Contents

  1. 1Sources
  2. 2Build and run
  3. 3Output