Page Speed Optimization Libraries  1.5.27.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Protected Member Functions
net_instaweb::SimpleStats Class Reference

Simple name/value pair statistics implementation. More...

#include "simple_stats.h"

Inheritance diagram for net_instaweb::SimpleStats:
net_instaweb::ScalarStatisticsTemplate< SimpleStatsVariable > net_instaweb::StatisticsTemplate< SimpleStatsVariable, CountHistogram, FakeTimedVariable > net_instaweb::Statistics

List of all members.

Public Member Functions

 SimpleStats ()
 SimpleStats (ThreadSystem *thread_system)

Protected Member Functions

virtual SimpleStatsVariableNewVariable (const StringPiece &name, int index)
 Interface to subclass.

Detailed Description

Simple name/value pair statistics implementation.


Constructor & Destructor Documentation

Todo:
TODO(jmarantz): this form will ultimately be removed so that you are required to pass a thread system to the constructor.
net_instaweb::SimpleStats::SimpleStats ( ThreadSystem thread_system) [explicit]

SimpleStats will not take ownership of thread_system. The thread system is used to instantiate mutexes to allow SimpleStatsVariable to be thread-safe.


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