* @brief Stop measuring time and store the elapsed time since the object was constructed or since `start()` was last called. */
| 3450 | * @brief Stop measuring time and store the elapsed time since the object was constructed or since `start()` was last called. |
| 3451 | */ |
| 3452 | void stop() |
| 3453 | { |
| 3454 | elapsed_time = std::chrono::steady_clock::now() - start_time; |
| 3455 | } |
| 3456 | |
| 3457 | /** |
| 3458 | * @brief Get the number of milliseconds stored when `stop()` was last called. |