Boost.Test reports the TestingTime as microseconds (e.g. 20000 microseconds = 0.02 seconds). However, the QuickBuild Boost Test Reporter plugin interprets the TestingTime value as milliseconds. That is, the Boost Test Reporter plugin displays 20s in the QuickBuild report when boost.test results reports 20000 (which is in microseconds).
If you examine the boost.test source code, you'll find that it uses a boost.timer to measure the test time. boost::timer.elapsed() returns its result as seconds (double). Finally, boost.test then logs "timer.elapsed() * 1e6" to the boost.test report (i.e. in microseconds).
|