The Battle for Wesnoth  1.13.4+dev
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | List of all members
metrics::sample Struct Reference

#include <metrics.hpp>

Public Member Functions

 sample ()
 
 operator const simple_wml::string_span & ()
 

Public Attributes

simple_wml::string_span name
 
int nsamples
 
clock_t parsing_time
 
clock_t processing_time
 
clock_t max_parsing_time
 
clock_t max_processing_time
 

Detailed Description

Definition at line 46 of file metrics.hpp.

Constructor & Destructor Documentation

metrics::sample::sample ( )
inline

Definition at line 48 of file metrics.hpp.

Member Function Documentation

metrics::sample::operator const simple_wml::string_span & ( )
inline

Definition at line 63 of file metrics.hpp.

References name.

Member Data Documentation

clock_t metrics::sample::max_parsing_time

Definition at line 61 of file metrics.hpp.

clock_t metrics::sample::max_processing_time

Definition at line 61 of file metrics.hpp.

simple_wml::string_span metrics::sample::name

Definition at line 58 of file metrics.hpp.

Referenced by operator const simple_wml::string_span &(), and metrics::record_sample().

int metrics::sample::nsamples

Definition at line 59 of file metrics.hpp.

clock_t metrics::sample::parsing_time

Definition at line 60 of file metrics.hpp.

clock_t metrics::sample::processing_time

Definition at line 60 of file metrics.hpp.

Referenced by compare_samples_by_time::operator()().


The documentation for this struct was generated from the following file: