Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumentation ¶
type Instrumentation struct {
// contains filtered or unexported fields
}
func NewInstrumentation ¶
func NewInstrumentation(max int) *Instrumentation
func (*Instrumentation) Drop ¶
func (i *Instrumentation) Drop(key string)
func (*Instrumentation) RecordLatency ¶
func (i *Instrumentation) RecordLatency(key string, value float64)
func (*Instrumentation) RecordLost ¶
func (i *Instrumentation) RecordLost(key string)
func (*Instrumentation) RecordSent ¶
func (i *Instrumentation) RecordSent(key string)
func (*Instrumentation) Snapshot ¶
func (i *Instrumentation) Snapshot(key string, last time.Duration) *rtt.Statistics
Click to show internal directories.
Click to hide internal directories.