| 5740 | virtual void render_block(size_t i, size_t n) = 0; |
| 5741 | |
| 5742 | float benchmark(VerifyApplication* state) |
| 5743 | { |
| 5744 | double t0 = getSeconds(); |
| 5745 | parallel_for((size_t)N/dN, [&](size_t i) { |
| 5746 | render_block(i*dN, dN); |
| 5747 | }); |
| 5748 | double t1 = getSeconds(); |
| 5749 | return 1E-6f * (float)(N)/float(t1-t0); |
| 5750 | } |
| 5751 | |
| 5752 | virtual void cleanup(VerifyApplication* state) |
| 5753 | { |
nothing calls this directly
no test coverage detected