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

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

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


自己写测量函数吧。

刚看到这篇文章:http://.com/blog/pezy/1190000002548499, 或许对你有帮助。


另外可以参考一下 GTest 源码里的做法:

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

【热门文章】
【热门文章】