| 24 | } |
| 25 | |
| 26 | double elapsed_ms() const { |
| 27 | auto end = std::chrono::high_resolution_clock::now(); |
| 28 | auto duration = std::chrono::duration_cast<std::chrono::microseconds>(end - start_); |
| 29 | return duration.count() / 1000.0; |
| 30 | } |
| 31 | }; |
| 32 | |
| 33 | struct BenchmarkResult { |