* @brief Start (or restart) measuring time. Note that the timer starts ticking as soon as the object is created, so this is only necessary if we want to restart the clock later. */
| 3442 | * @brief Start (or restart) measuring time. Note that the timer starts ticking as soon as the object is created, so this is only necessary if we want to restart the clock later. |
| 3443 | */ |
| 3444 | void start() |
| 3445 | { |
| 3446 | start_time = std::chrono::steady_clock::now(); |
| 3447 | } |
| 3448 | |
| 3449 | /** |
| 3450 | * @brief Stop measuring time and store the elapsed time since the object was constructed or since `start()` was last called. |