Boost logo

Boost Users :

Subject: [Boost-users] [Timer] Using progress timers.
From: Robert Jones (robertgbjones_at_[hidden])
Date: 2011-09-21 06:47:35


Hi All,

> cat progress.cpp

#include <boost/progress.hpp>

int main( )
{
    boost::progress_timer t;

    sleep( 5 );

    return 0;
}

> g++ progress.cpp

> ./a.out
0.00 s

I was expecting a number >= 5.00 s! What am I missing?

Thx, Rob.



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