go/src/internal/trace/traceviewer/histogram.go

type TimeHistogram

var logDiv

// Add adds a single sample to the histogram.
func (h *TimeHistogram) Add(d time.Duration) {}

// BucketMin returns the minimum duration value for a provided bucket.
func (h *TimeHistogram) BucketMin(bucket int) time.Duration {}

// ToHTML renders the histogram as HTML.
func (h *TimeHistogram) ToHTML(urlmaker func(min, max time.Duration) string) template.HTML {}