boost::timer elapsed_max() is too small

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
6489
Age (days ago)
6489
Last active (days ago)
0 comments
1 participants
participants (1)
-
Peng Yu