Changeset 59385

Timestamp:
Jan 31, 2010, 10:12:47 PM (13 years ago)
Author:
viboes
Message:

Boost.Chrono: Version 0.4.0,

  • Fix bug on timeval_demo.

time_point t(duration(xtime(0))); this was taken as a function declaration
gettimeofday((timeval*)&t, 0);
return t;

by

timeval tv;
gettimeofday(&tv, 0);
xtime xt( tv.tv_sec, tv.tv_usec);
return time_point(duration(xt));

  • Fix bug on run_timer_test (add a global variable to avoid optimization that removes completely the code to be measured
(No files)

Note: See TracChangeset for help on using the changeset viewer.