Boost logo

Boost Users :

Subject: Re: [Boost-users] boost timer
From: Gordon Woodhull (gordon_at_[hidden])
Date: 2011-08-14 17:22:38


On Aug 14, 2011, at 3:40 PM, Kraus Philipp <philipp.kraus_at_[hidden]> wrote:

> timer t;
> run_algorithm;
> std::cout << t.elapsed << std::endl;

Boost.Timer has some problems, I've seen it measure CPU time instead of wall time on some platforms and I'm not sure about the accuracy.

I don't know about the MPI timer, but I would go with Chrono until Stopwatches is out.

Cheers
Gordon


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net