Page Speed Optimization Libraries
1.13.35.1
|
Simple name/value pair statistics implementation. More...
#include "null_statistics.h"
Public Member Functions | |
virtual CountHistogram * | NewHistogram (StringPiece name) |
Public Member Functions inherited from net_instaweb::StatisticsTemplate< VarTemplate< NullStatisticsVariable >, UpDownTemplate< NullStatisticsVariable >, CountHistogram, FakeTimedVariable > | |
virtual VarTemplate < NullStatisticsVariable > * | AddVariable (const StringPiece &name) |
virtual UpDownTemplate < NullStatisticsVariable > * | AddUpDownCounter (const StringPiece &name) |
virtual UpDownTemplate < NullStatisticsVariable > * | AddGlobalUpDownCounter (const StringPiece &name) |
virtual VarTemplate < NullStatisticsVariable > * | FindVariable (const StringPiece &name) const |
Find a variable from a name, returning NULL if not found. | |
virtual UpDownTemplate < NullStatisticsVariable > * | FindUpDownCounter (const StringPiece &name) const |
Find a variable from a name, returning NULL if not found. | |
virtual CountHistogram * | AddHistogram (const StringPiece &name) |
virtual CountHistogram * | FindHistogram (const StringPiece &name) const |
Find a histogram from a name, returning NULL if not found. | |
virtual FakeTimedVariable * | AddTimedVariable (const StringPiece &name, const StringPiece &group) |
virtual FakeTimedVariable * | FindTimedVariable (const StringPiece &name) const |
Find a TimedVariable from a name, returning NULL if not found. | |
virtual const StringVector & | HistogramNames () |
Return the names of all the histograms for render. | |
virtual const std::map < GoogleString, StringVector > & | TimedVariableMap () |
Return the map of groupnames and names of all timedvariables for render. | |
virtual void | Dump (Writer *writer, MessageHandler *message_handler) |
Dump the variable-values to a writer. | |
virtual void | DumpJson (Writer *writer, MessageHandler *message_handler) |
virtual void | Clear () |
Public Member Functions inherited from net_instaweb::Statistics | |
UpDownCounter * | GetUpDownCounter (const StringPiece &name) const |
Find a variable from a name, aborting if not found. | |
Variable * | GetVariable (const StringPiece &name) const |
Find a variable from a name, aborting if not found. | |
Histogram * | GetHistogram (const StringPiece &name) const |
Find a histogram from a name, aborting if not found. | |
TimedVariable * | GetTimedVariable (const StringPiece &name) const |
Find a TimedVariable from a name, aborting if not found. | |
virtual void | RenderTimedVariables (Writer *writer, MessageHandler *handler) |
virtual void | RenderHistograms (Writer *writer, MessageHandler *handler) |
Write all the histograms in this Statistic object to a writer. | |
virtual StatisticsLogger * | console_logger () |
int64 | LookupValue (StringPiece stat_name) |
Additional Inherited Members | |
Public Types inherited from net_instaweb::ScalarStatisticsTemplate< NullStatisticsVariable > | |
typedef VarTemplate < NullStatisticsVariable > | Var |
Add typedefs for template class args to make them visible to subclasses. | |
typedef UpDownTemplate < NullStatisticsVariable > | UpDown |
typedef CountHistogram | Hist |
typedef FakeTimedVariable | TVar |
Static Public Attributes inherited from net_instaweb::Statistics | |
static const char | kDefaultGroup [] |
Default group for use with AddTimedVariable. | |
Protected Member Functions inherited from net_instaweb::ScalarStatisticsTemplate< NullStatisticsVariable > | |
virtual Var * | NewVariable (StringPiece name) |
Interface to subclass. | |
virtual UpDown * | NewUpDownCounter (StringPiece name) |
Interface to subclass. | |
virtual TVar * | NewTimedVariable (StringPiece name) |
Protected Member Functions inherited from net_instaweb::StatisticsTemplate< VarTemplate< NullStatisticsVariable >, UpDownTemplate< NullStatisticsVariable >, CountHistogram, FakeTimedVariable > | |
virtual UpDownTemplate < NullStatisticsVariable > * | NewGlobalUpDownCounter (StringPiece name) |
Default implementation just calls NewUpDownCounter. | |
size_t | variables_size () const |
VarTemplate < NullStatisticsVariable > * | variables (size_t pos) |
size_t | up_down_size () const |
UpDownTemplate < NullStatisticsVariable > * | up_downs (size_t pos) |
size_t | histograms_size () const |
CountHistogram * | histograms (size_t pos) |
const GoogleString & | histogram_names (size_t pos) const |
Simple name/value pair statistics implementation.