Page Speed Optimization Libraries  1.4.26.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
net_instaweb::SplitStatistics Class Reference
Inheritance diagram for net_instaweb::SplitStatistics:
net_instaweb::StatisticsTemplate< SplitVariable, SplitHistogram, SplitTimedVariable > net_instaweb::Statistics

List of all members.

Public Member Functions

 SplitStatistics (ThreadSystem *thread_system, Statistics *local, Statistics *global)

Protected Member Functions

virtual SplitVariableNewVariable (const StringPiece &name, int index)
 Interface to subclass.
virtual SplitVariableNewGlobalVariable (const StringPiece &name, int index)
 Default implementation just calls NewVariable.
virtual SplitHistogramNewHistogram (const StringPiece &name)
virtual SplitTimedVariableNewTimedVariable (const StringPiece &name, int index)

Constructor & Destructor Documentation

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 AddVariable 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.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines