
8 Sep
2010
8 Sep
'10
4:11 p.m.
2010/9/8 Raymond Burkholder
Timer uses clock() internally, which counts only CPU time on Linux and
total
time on Windows. Given non-portable nature of Boost.Timer, I would not recommend using it.
It's strange that it is available in Boost without this kind of warning! Is there a portable and reliable timer in Boost ?
You could give the timer in boost::asio a shot, so to speak.
To get the elapsed time, perhaps I may rely on boost::datetime? Matthieu -- Information System Engineer, Ph.D. Blog: http://matt.eifelle.com LinkedIn: http://www.linkedin.com/in/matthieubrucher