Boost logo

Boost Users :

Subject: [Boost-users] Boost timer library : formatting a cpu_times value always prints zeros ?
From: Jean-Francois Romang (jeanfrancois.romang_at_[hidden])
Date: 2012-02-12 11:00:15

I'm trying to use the boost::timer library, but I can't get to
'format' function to work : it always prints zero values.
I followed the documentation :
Here is my code :
            boost::timer::cpu_timer cput;

Here is the result I get :

Using auto_cpu_timer does not help. Is there something wring in my code ?

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at