Boost timer library : formatting a cpu_times value always prints zeros ?
12 Feb
2012
12 Feb
'12
4 p.m.
Hello,
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 :
http://www.boost.org/doc/libs/1_48_0/libs/timer/doc/cpu_timers.html#Default-...
Here is my code :
{
boost::timer::cpu_timer cput;
someFunctionTakingTime();
std::cout<
4658
Age (days ago)
4658
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jean-Francois Romang