stat

package
v0.0.0-...-a0f1544 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2016 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Aggregate

type Aggregate struct {
	Min, Median, Max time.Duration
	P95, P99         time.Duration // percentiles
}

func NewAggregate

func NewAggregate(latencies []time.Duration) *Aggregate

NewAggregate constructs an aggregate from latencies. Returns nil if latencies does not contain aggregateable data.

func (*Aggregate) String

func (agg *Aggregate) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL