util.cpp File Reference

#include "lux.h"
#include "stats.h"
#include "timer.h"
#include <map>
#include <cstdarg>
#include "randomgen.h"

Go to the source code of this file.

Classes

struct  StatTracker

Namespaces

namespace  lux
namespace  lux::random

Defines

#define L1_CACHE_LINE_SIZE   64

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 ()
void * lux::AllocAligned (size_t size)
void lux::FreeAligned (void *)
unsigned int lux::DJBHash (const std::string &str)

Variables

static TrackerMap trackers


Define Documentation

#define L1_CACHE_LINE_SIZE   64

Referenced by lux::AllocAligned().


Typedef Documentation

typedef map<std::pair<string, string>, StatTracker *> TrackerMap

Definition at line 133 of file util.cpp.


Function Documentation

static void addTracker ( StatTracker newTracker  )  [static]


Variable Documentation

TrackerMap trackers [static]

Definition at line 134 of file util.cpp.


Generated on Mon May 18 07:14:52 2009 for lux by  doxygen 1.5.7.1