Boost C++ Libraries of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for a snapshot of the develop branch, built from commit 0b62c43508.
Timer Home    CPU timers    Original timers   

"How long does my C++ code take to run?"

The Boost Timer library answers that question and does so portably, with as little as one #include and one additional line of code.

The Boost Timer library has two distinct sets of components:

CPU timers

These version 2 components conform to current Boost practice:

Original timers

These version 1 components are deprecated. They date from the earliest days of Boost and do not conform to current Boost practice:

Revised: 07 October 2011

Copyright Beman Dawes  2001, 2011

Distributed under the Boost Software License, Version 1.0. See