Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultMaxLatency = 16 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Histogram ¶ added in v1.0.4
type Histogram struct { *hdrhistogram.Histogram // contains filtered or unexported fields }
func NewHistogram ¶ added in v1.0.4
type Measurement ¶ added in v1.0.4
type Measurement struct { sync.RWMutex MinLatency time.Duration MaxLatency time.Duration SigFigs int OpCurMeasurement map[string]*Histogram OpSumMeasurement map[string]*Histogram // contains filtered or unexported fields }
func NewMeasurement ¶ added in v1.0.4
func NewMeasurement(opts ...func(*Measurement)) *Measurement
func (*Measurement) EnableWarmUp ¶ added in v1.0.4
func (m *Measurement) EnableWarmUp(b bool)
EnableWarmUp sets whether to enable warm-up.
func (*Measurement) IsWarmUpFinished ¶ added in v1.0.4
func (m *Measurement) IsWarmUpFinished() bool
IsWarmUpFinished returns whether warm-up is finished or not.
Click to show internal directories.
Click to hide internal directories.