| 517 | } |
| 518 | |
| 519 | Statistics VerifyApplication::Benchmark::benchmark_loop(VerifyApplication* state) |
| 520 | { |
| 521 | //sleepSeconds(0.1); |
| 522 | const size_t skipBenchmarkFrames = 1; |
| 523 | const size_t numBenchmarkFrames = 8; |
| 524 | FilteredStatistics stat(0.5f,0.0f); |
| 525 | size_t numTotalFrames = skipBenchmarkFrames + numBenchmarkFrames; |
| 526 | for (size_t i=0; i<skipBenchmarkFrames; i++) { |
| 527 | benchmark(state); |
| 528 | } |
| 529 | for (size_t i=skipBenchmarkFrames; i<numTotalFrames; i++) { |
| 530 | stat.add(benchmark(state)); |
| 531 | } |
| 532 | return stat.getStatistics(); |
| 533 | } |
| 534 | |
| 535 | VerifyApplication::TestReturnValue VerifyApplication::Benchmark::execute(VerifyApplication* state, bool silent) try |
| 536 | { |
no test coverage detected