| Page Speed Optimization Libraries
    1.13.35.1
    | 
 
  
 | Public Member Functions | |
| SplitStatistics (ThreadSystem *thread_system, Statistics *local, Statistics *global) | |
| virtual StatisticsLogger * | console_logger () | 
|  Public Member Functions inherited from net_instaweb::StatisticsTemplate< SplitVariable, SplitUpDownCounter, SplitHistogram, SplitTimedVariable > | |
| virtual SplitVariable * | AddVariable (const StringPiece &name) | 
| virtual SplitUpDownCounter * | AddUpDownCounter (const StringPiece &name) | 
| virtual SplitUpDownCounter * | AddGlobalUpDownCounter (const StringPiece &name) | 
| virtual SplitVariable * | FindVariable (const StringPiece &name) const | 
| Find a variable from a name, returning NULL if not found. | |
| virtual SplitUpDownCounter * | FindUpDownCounter (const StringPiece &name) const | 
| Find a variable from a name, returning NULL if not found. | |
| virtual SplitHistogram * | AddHistogram (const StringPiece &name) | 
| virtual SplitHistogram * | FindHistogram (const StringPiece &name) const | 
| Find a histogram from a name, returning NULL if not found. | |
| virtual SplitTimedVariable * | AddTimedVariable (const StringPiece &name, const StringPiece &group) | 
| virtual SplitTimedVariable * | 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. | |
| int64 | LookupValue (StringPiece stat_name) | 
| Protected Member Functions | |
| virtual SplitUpDownCounter * | NewUpDownCounter (StringPiece name) | 
| Interface to subclass. | |
| virtual SplitVariable * | NewVariable (StringPiece name) | 
| Interface to subclass. | |
| virtual SplitUpDownCounter * | NewGlobalUpDownCounter (StringPiece name) | 
| Default implementation just calls NewUpDownCounter. | |
| virtual SplitHistogram * | NewHistogram (StringPiece name) | 
| virtual SplitTimedVariable * | NewTimedVariable (StringPiece name) | 
|  Protected Member Functions inherited from net_instaweb::StatisticsTemplate< SplitVariable, SplitUpDownCounter, SplitHistogram, SplitTimedVariable > | |
| size_t | variables_size () const | 
| SplitVariable * | variables (size_t pos) | 
| size_t | up_down_size () const | 
| SplitUpDownCounter * | up_downs (size_t pos) | 
| size_t | histograms_size () const | 
| SplitHistogram * | histograms (size_t pos) | 
| const GoogleString & | histogram_names (size_t pos) const | 
| Additional Inherited Members | |
|  Static Public Attributes inherited from net_instaweb::Statistics | |
| static const char | kDefaultGroup [] | 
| Default group for use with AddTimedVariable. | |
| net_instaweb::SplitStatistics::SplitStatistics | ( | ThreadSystem * | thread_system, | 
| Statistics * | local, | ||
| Statistics * | global | ||
| ) | 
Initializes a statistics splitter which proxies 'local' but also forwards writes to 'global' for aggregation with other SplitStatistics instances. Takes ownership of 'local', but not thread_system or global.
Note that before AddUpDownCounter or similar methods are invoked on this object (which is usually done by static ::InitStats(Statistics* methods) they must have been invoked on both local and global statistics objects for the same object names.
| 
 | inlinevirtual | 
This is implemented as NULL here because most Statistics don't need it. In the context in which it is needed we only have access to a Statistics*, rather than the specific subclass, hence its being here. Return the StatisticsLogger associated with this Statistics.
console_logger() is only used for read access, so just provide the local version.
Reimplemented from net_instaweb::Statistics.
 1.8.6
 1.8.6