19 #ifndef PAGESPEED_KERNEL_BASE_WAVEFORM_H_
20 #define PAGESPEED_KERNEL_BASE_WAVEFORM_H_
28 namespace net_instaweb {
57 void Add(
double value);
69 void Render(
const StringPiece& title,
const StringPiece& label,
73 typedef std::pair<int64, double> TimeValue;
75 TimeValue* GetSample(
int index);
76 void AddHelper(
double value);
83 int64 first_sample_timestamp_us_;
84 double total_since_clear_;
87 double previous_value_;
Definition: scoped_ptr.h:30
Interface for writing bytes to an output stream.
Definition: writer.h:29
Definition: thread_system.h:40
Definition: statistics.h:73
Definition: message_handler.h:39
Timer interface, made virtual so it can be mocked for tests.
Definition: timer.h:27