Boost C++ Libraries

...one 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 an old version of Boost. Click here to view this page for the latest version.
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 www.boost.org/LICENSE_1_0.txt