Gnash
0.8.10
|
#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) |
gnash::stats::KeyLookup::KeyLookup | ( | const std::string & | label, |
const string_table & | st, | ||
int | dumpTrigger = 0 , |
||
string_table::key | restrict = 0 , |
||
int | dumpCount = 5 |
||
) | [inline] |
label | The label to print for dumps of this stat |
st | The string table to use for resolving stats values |
dumpTrigger | The number of calls to check() that should be triggering a dump |
restrict | If non-zero dumpTrigger refers to this key lookups |
dumpCount | Number of items to print in the dump (makes sense if not restricted) |
gnash::stats::KeyLookup::~KeyLookup | ( | ) | [inline] |
References dump().
void gnash::stats::KeyLookup::check | ( | string_table::key | k | ) | [inline] |
References gnash::key::k, and dump().
Referenced by gnash::ObjectURI::noCase(), gnash::PropertyList::getProperty(), and gnash::string_table::noCase().
void gnash::stats::KeyLookup::dump | ( | int | count | ) | [inline] |
References gnash::key::i, gnash::key::e, and gnash::string_table::value().
Referenced by ~KeyLookup(), and check().