Page Speed Optimization Libraries  1.11.33.2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
net_instaweb::LoggingFilter Class Reference

Counts some basic statistics observed as HTML is parsed. More...

#include "logging_html_filter.h"

Inheritance diagram for net_instaweb::LoggingFilter:

Public Types

enum  Statistic {
  MIN_STAT = 0, NUM_EXPLICIT_CLOSED = 0, NUM_IMPLICIT_CLOSED, NUM_BRIEF_CLOSED,
  NUM_CLOSED, NUM_UNCLOSED, NUM_SPURIOUS_CLOSED, NUM_TAGS,
  NUM_CDATA, NUM_COMMENTS, NUM_DIRECTIVES, NUM_DOCUMENTS,
  NUM_IE_DIRECTIVES, MAX_STAT
}
 

Public Member Functions

virtual void StartDocument ()
 HtmlFilter methods.
 
virtual void StartElement (HtmlElement *element)
 
virtual void EndElement (HtmlElement *element)
 
virtual void Cdata (HtmlCdataNode *cdata)
 
virtual void Comment (HtmlCommentNode *comment)
 
virtual void IEDirective (HtmlIEDirectiveNode *directive)
 
virtual void Directive (HtmlDirectiveNode *directive)
 
virtual const char * Name () const
 
int get (const Statistic statistic) const
 Getter for individual statistics; NO BOUNDS CHECKS.
 
void LogStatistics (StatisticsLog *statistics_log) const
 Logging, diffing, and aggregation. More...
 
void Reset ()
 

Detailed Description

Counts some basic statistics observed as HTML is parsed.

Member Enumeration Documentation

internal names of statistics. NOTE: must match string names in kStatisticNames at top of logging_html_filter.c

Member Function Documentation

void net_instaweb::LoggingFilter::LogStatistics ( StatisticsLog statistics_log) const

Logging, diffing, and aggregation.

Report all statistics


The documentation for this class was generated from the following file: