gtest - google c++ test framework 怎么把测试的时间精度提高? 默认是ms.
迷茫
迷茫 2017-04-17 11:45:01
0
1
737

google c++ test framework 怎么把测试的时间精度提高? 默认是ms.

迷茫
迷茫

业精于勤,荒于嬉;行成于思,毁于随。

reply all(1)
刘奇

Write the measurement function yourself.

Just saw this article: http://segmentfault.com/blog/pezy/1190000002548499, it may be helpful to you.


You can also refer to the method in GTest source code:

https://github.com/adobe/chromium/blob/master/base/time_win_unittest.cc

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!