google c++ test framework 怎么把测试的时间精度提高? 默认是ms.
怪我咯2017-04-17 11:47:01
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