| 2437 | std::atomic<bool> multi_progress_mode_{false}; |
| 2438 | |
| 2439 | void save_start_time() { |
| 2440 | auto &show_elapsed_time = get_value<details::ProgressBarOption::show_elapsed_time>(); |
| 2441 | auto &saved_start_time = get_value<details::ProgressBarOption::saved_start_time>(); |
| 2442 | auto &show_remaining_time = get_value<details::ProgressBarOption::show_remaining_time>(); |
| 2443 | if ((show_elapsed_time || show_remaining_time) && !saved_start_time) { |
| 2444 | start_time_point_ = std::chrono::high_resolution_clock::now(); |
| 2445 | saved_start_time = true; |
| 2446 | } |
| 2447 | } |
| 2448 | |
| 2449 | std::pair<std::string, int> get_prefix_text() { |
| 2450 | std::stringstream os; |
nothing calls this directly
no outgoing calls
no test coverage detected