55 if constexpr (std::is_same<TimeUnit, std::chrono::hours>::value)
59 else if constexpr (std::is_same<TimeUnit, std::chrono::minutes>::value)
63 else if constexpr (std::is_same<TimeUnit, std::chrono::seconds>::value)
67 else if constexpr (std::is_same<TimeUnit, std::chrono::milliseconds>::value)
69 unit =
" milliseconds";
71 else if constexpr (std::is_same<TimeUnit, std::chrono::microseconds>::value)
73 unit =
" microseconds";
75 else if constexpr (std::is_same<TimeUnit, std::chrono::nanoseconds>::value)
77 unit =
" nanoseconds";
81 unit =
" time units of some sort";
84 os <<
"Timeit results:\n";