Boost logo

Boost Users :

From: Bruno Lalande (bruno.lalande_at_[hidden])
Date: 2008-07-25 04:29:20


> What platform is that?

A very common one: Linux 2.6 with GCC 4.1 or 4.2. The distribution is Kubuntu.

timer().elapsed_max() gives 2147.48 on this platform and indeed,
elapsed() returns negative numbers above that time (before returning
to 0).

I had thought about the possibility of making a policy-based version
of boost::timer, with something like a "heart policy" that would
define the way in which the time would be obtained and stored
internally. There would be a portable one (the one of boost::timer
currently), another one based on boost::date_time, and why not some
platform-specific ones (QueryPerformanceCounter on windows for
instance). But I never had the time to dig more :-(

Bruno


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