文件名称:一个微基准支持库-C/C++开发
文件大小:236KB
文件格式:ZIP
更新时间:2024-06-15 13:45:29
C/C++ Debugger
基准测试(Benchmark)一个支持功能基准测试的库,类似于单元测试。 讨论组:https://groups.google.com/d/forum/benchmark-discuss IRC频道:https://freenode.net #googlebenchmark已知问题和基准测试支持功能基准测试的库,类似于单元测试。 讨论组:https://groups.google.com/d/forum/benchmark-discuss IRC频道:https://freenode.net #googlebenchmark已知问题和常见问题示例用法基本用法定义执行代码的函数测量。 静态无效BM_StringCreation(benchmark :: State&state){while(state.KeepRunning())std :: string empty_string; } //将函数注册为基准