#include "lux.h"
#include "stats.h"
#include "timer.h"
#include <map>
#include <cstdarg>
Go to the source code of this file.
Classes | |
struct | StatTracker |
Namespaces | |
namespace | lux |
Typedefs | |
typedef map< std::pair< string, string >, StatTracker * > | TrackerMap |
Functions | |
bool | lux::SolveLinearSystem2x2 (const float A[2][2], const float B[2], float x[2]) |
static void | addTracker (StatTracker *newTracker) |
static void | lux::StatsPrintVal (FILE *f, StatsCounterType v) |
static void | lux::StatsPrintVal (FILE *f, StatsCounterType v1, StatsCounterType v2) |
void | lux::StatsPrint (FILE *dest) |
void | lux::StatsCleanup () |
unsigned int | lux::DJBHash (const std::string &str) |
Variables | |
static TrackerMap | trackers |
typedef map<std::pair<string, string>, StatTracker *> TrackerMap |
static void addTracker | ( | StatTracker * | newTracker | ) | [static] |
Definition at line 135 of file util.cpp.
References StatTracker::category, StatTracker::name, StatTracker::ptra, and StatTracker::ptrb.
Referenced by StatsCounter::StatsCounter(), StatsPercentage::StatsPercentage(), and StatsRatio::StatsRatio().
TrackerMap trackers [static] |