* @brief Print the timing of a specific test. * * @param stats A struct containing the mean and standard deviation. * @param pixels_per_ms The number of pixels per millisecond. */
| 3132 | * @param pixels_per_ms The number of pixels per millisecond. |
| 3133 | */ |
| 3134 | void print_timing(const mean_sd& stats, const double pixels_per_ms) |
| 3135 | { |
| 3136 | constexpr int width_mean = 6; |
| 3137 | constexpr int width_sd = 4; |
| 3138 | constexpr int width_pms = 7; |
| 3139 | logln("-> Mean: ", std::setw(width_mean), stats.mean, " ms, standard deviation: ", std::setw(width_sd), stats.sd, " ms, speed: ", std::setw(width_pms), pixels_per_ms, " pixels/ms."); |
| 3140 | } |
| 3141 | |
| 3142 | /** |
| 3143 | * @brief Find the index of the minimum element in a vector. |
no test coverage detected