Gnash  0.8.11dev
Public Member Functions | List of all members
gnash::stats::KeyLookup Class Reference

#include <Stats.h>

Public Member Functions

 KeyLookup (const std::string &label, const string_table &st, int dumpTrigger=0, string_table::key restrict=0, int dumpCount=5)
 ~KeyLookup ()
void check (string_table::key k)
void dump (int count)

Constructor & Destructor Documentation

gnash::stats::KeyLookup::KeyLookup ( const std::string &  label,
const string_table st,
int  dumpTrigger = 0,
string_table::key  restrict = 0,
int  dumpCount = 5 
)
inline
Parameters
labelThe label to print for dumps of this stat
stThe string table to use for resolving stats values
dumpTriggerThe number of calls to check() that should be triggering a dump
restrictIf non-zero dumpTrigger refers to this key lookups
dumpCountNumber of items to print in the dump (makes sense if not restricted)
gnash::stats::KeyLookup::~KeyLookup ( )
inline

References dump().

Member Function Documentation

void gnash::stats::KeyLookup::check ( string_table::key  k)
inline
void gnash::stats::KeyLookup::dump ( int  count)
inline

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