Skip to content

Glossary: C++ Beyond the Basics

std::chrono

Also written: steady_clock, <chrono>, duration

The library for measuring time. `steady_clock::now()` reads a clock that only moves forward, and subtracting two readings gives a duration whose `.count()` is the number.

Where the book teaches it

Related terms

Profiler