27 auto duration = std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::high_resolution_clock::now() -
m_StartTime).count();
28 LOG(
"Stopwatch: %s took %.03f sec",
m_Name,
static_cast<double>(duration) / 1000);
void LOG(std::string_view a_Format, const Args &... args)
cStopwatch(const AString &a_Name)
std::chrono::high_resolution_clock::time_point m_StartTime