19 #ifndef NET_INSTAWEB_REWRITER_PUBLIC_DEBUG_FILTER_H_
20 #define NET_INSTAWEB_REWRITER_PUBLIC_DEBUG_FILTER_H_
27 namespace net_instaweb {
44 virtual const char*
Name()
const {
return "Debug"; }
66 int64 parse_duration_us,
67 int64 flush_duration_us,
68 int64 idle_duration_us);
70 int64 time_since_init_parse_us, int64 total_parse_duration_us,
71 int64 total_flush_duration_us, int64 total_idle_duration_us,
72 int num_flushes,
bool is_critical_images_beacon_enabled,
73 const StringSet& critical_image_urls,
74 const StringVector& dynamically_disabled_filter_list);
86 inline void Start(int64 now_us);
87 inline void End(int64 now_us);
88 inline void AddToTotal();
90 int64 start_us()
const {
return start_us_; }
91 int64 duration_us()
const {
return duration_us_; }
92 int64 total_us()
const {
return total_us_; }
102 RewriteDriver* driver_;
104 bool end_document_seen_;
106 int64 start_doc_time_us_;
110 StringSet critical_image_urls_;
116 StringVector dynamically_disabled_filter_list_;
virtual void EndDocument()
Definition: empty_html_filter.h:37
static GoogleString FormatFlushMessage(int64 time_since_init_parse_us, int64 parse_duration_us, int64 flush_duration_us, int64 idle_duration_us)
Definition: html_element.h:42
virtual const char * Name() const
The name of this filter – used for logging and debugging.
Definition: debug_filter.h:44
std::string GoogleString
PAGESPEED_KERNEL_BASE_STRING_H_.
Definition: string.h:24
GoogleString ListActiveFiltersAndOptions() const
Definition: rewrite_driver.h:100
Definition: debug_filter.h:36