36 const std::chrono::steady_clock::duration& parsing_time,
37 const std::chrono::steady_clock::duration& processing_time);
41 std::ostream&
games(std::ostream& out)
const;
42 std::ostream&
requests(std::ostream& out)
const;
std::map< std::string, int > terminations_
std::ostream & requests(std::ostream &out) const
std::ostream & games(std::ostream &out) const
std::vector< sample > samples_
friend std::ostream & operator<<(std::ostream &out, metrics &met)
int most_consecutive_requests_
const std::chrono::steady_clock::time_point started_at_
void game_terminated(const std::string &reason)
void record_sample(const simple_wml::string_span &name, const std::chrono::steady_clock::duration &parsing_time, const std::chrono::steady_clock::duration &processing_time)
std::ostream & operator<<(std::ostream &out, metrics &met)
std::chrono::steady_clock::duration max_processing_time
std::chrono::steady_clock::duration processing_time
std::chrono::steady_clock::duration max_parsing_time
std::chrono::steady_clock::duration parsing_time
simple_wml::string_span name