Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RateMonitor ¶
type RateMonitor struct {
// contains filtered or unexported fields
}
func NewRateMonitor ¶
func NewRateMonitor() *RateMonitor
func (*RateMonitor) Inflight ¶
func (m *RateMonitor) Inflight() int32
func (*RateMonitor) Rate ¶
func (m *RateMonitor) Rate() float64
func (*RateMonitor) RequestAdd ¶
func (m *RateMonitor) RequestAdd(n int64)
func (*RateMonitor) RequestEnd ¶
func (m *RateMonitor) RequestEnd()
func (*RateMonitor) RequestStart ¶
func (m *RateMonitor) RequestStart()
type ThroughputMonitor ¶
type ThroughputMonitor struct {
// contains filtered or unexported fields
}
func NewThroughputMonitor ¶
func NewThroughputMonitor() *ThroughputMonitor
func (*ThroughputMonitor) RecordRequest ¶
func (m *ThroughputMonitor) RecordRequest(n int64)
func (*ThroughputMonitor) RecordResponse ¶
func (m *ThroughputMonitor) RecordResponse(n int64)
func (*ThroughputMonitor) RequestSize ¶
func (m *ThroughputMonitor) RequestSize() int64
func (*ThroughputMonitor) ResponseSize ¶
func (m *ThroughputMonitor) ResponseSize() int64
func (*ThroughputMonitor) Throughput ¶
func (m *ThroughputMonitor) Throughput() float64
Click to show internal directories.
Click to hide internal directories.