metrics.cpp File Reference

Various server-statistics. More...

#include "../global.hpp"
#include "metrics.hpp"
#include <algorithm>
#include <time.h>
#include <iostream>

Include dependency graph for metrics.cpp:

Go to the source code of this file.

Classes

struct  compare_samples_by_time

Functions

static bool operator< (const metrics::sample &s, const simple_wml::string_span &name)
static bool operator< (const simple_wml::string_span &name, const metrics::sample &s)
std::ostream & operator<< (std::ostream &out, metrics &met)


Detailed Description

Various server-statistics.

Definition in file metrics.cpp.


Function Documentation

static bool operator< ( const simple_wml::string_span name,
const metrics::sample s 
) [static]

Definition at line 31 of file metrics.cpp.

References metrics::sample::name.

static bool operator< ( const metrics::sample s,
const simple_wml::string_span name 
) [static]

Definition at line 26 of file metrics.cpp.

References metrics::sample::name.

std::ostream& operator<< ( std::ostream &  out,
metrics met 
)


Generated by doxygen 1.5.5 on 23 May 2008 for The Battle for Wesnoth
Gna! | Forum | Wiki | CIA | devdocs