StatsRatio Class Reference

#include <pbrt.h>

List of all members.

Public Member Functions

 StatsRatio (const string &category, const string &name)
void Add (int a, int b)
 StatsRatio (const string &category, const string &name)
void Add (int a, int b)

Private Attributes

StatsCounterType na
StatsCounterType nb


Detailed Description

Definition at line 301 of file pbrt.h.


Constructor & Destructor Documentation

StatsRatio::StatsRatio ( const string &  category,
const string &  name 
)

Definition at line 220 of file util.cpp.

References addTracker(), na, and nb.

StatsRatio::StatsRatio ( const string &  category,
const string &  name 
)


Member Function Documentation

void StatsRatio::Add ( int  a,
int  b 
) [inline]

void StatsRatio::Add ( int  a,
int  b 
) [inline]

Definition at line 306 of file pbrtlex.l.


Member Data Documentation

Definition at line 308 of file pbrt.h.

Referenced by StatsRatio().

Definition at line 308 of file pbrt.h.

Referenced by StatsRatio().


The documentation for this class was generated from the following files:

Generated on Mon Jul 20 17:31:56 2009 for pbrt by  doxygen 1.5.6