
3 Sep
2007
3 Sep
'07
1:18 a.m.
Hi, I want to use boost timer to measure my program runtime. Unfortunately, the maximum elapsed time that it can give is only about two thousand seconds. I'm wondering if there is any way to increase this limit? Thanks, Peng $ cat main.cc #include <boost/timer.hpp> #include <iostream> int main() { boost::timer this_timer; std::cout << this_timer.elapsed_max() << " sec" << std::endl; } $ ./main-g.exe 2147.48 sec