阅读背景:

测试C ++应用程序的性能

来源:互联网 

I'm trying to find a way to test how long it takes a block of C++ code to run. I'm using it to compare the code with different algorithms and under different languages, so ideally I would like a time in seconds / milliseconds. In Java I'm using something like this:I'm trying to find a way to test how long it ta




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: