23 end_time_ = std::chrono::system_clock::now();
24 sum_time_ += std::chrono::duration_cast<std::chrono::duration<double>>
39 printf(
"%s total-time:%3.4lf count:%4d avg-time:%3.4lf\n",
std::ostream & operator<<(std::ostream &os, const Timer &t)
std::string ToString() const