go/src/cmd/trace/regions.go

// UserRegionsHandlerFunc returns a HandlerFunc that reports all regions found in the trace.
func UserRegionsHandlerFunc(t *parsedTrace) http.HandlerFunc {}

type regionFingerprint

func fingerprintRegion(r *trace.UserRegionSummary) regionFingerprint {}

func regionTopStackFrame(r *trace.UserRegionSummary) trace.StackFrame {}

type regionStats

func (s *regionStats) UserRegionURL() func(min, max time.Duration) string {}

func (s *regionStats) add(t *parsedTrace, region *trace.UserRegionSummary) {}

var templUserRegionTypes

// UserRegionHandlerFunc returns a HandlerFunc that presents the details of the selected regions.
func UserRegionHandlerFunc(t *parsedTrace) http.HandlerFunc {}

var templUserRegionType

type regionFilter

// match returns true if a region, described by its ID and summary, matches
// the filter.
func (f *regionFilter) match(t *parsedTrace, s *trace.UserRegionSummary) bool {}

// newRegionFilter creates a new region filter from URL query variables.
func newRegionFilter(r *http.Request) (*regionFilter, error) {}

func regionInterval(t *parsedTrace, s *trace.UserRegionSummary) interval {}