Documentation ¶
Index ¶
Constants ¶
View Source
const ( BlockTypePlain byte = 1 BlockTypeLatencyRequest = 2 BlockTypeLatencyResponse = 3 )
Variables ¶
View Source
var BytesRxRate = metrics.NewMeter()
View Source
var BytesTxRate = metrics.NewMeter()
View Source
var ConnectionTime = metrics.NewTimer()
View Source
var MagicHeader = []byte{0xCA, 0xFE, 0xF0, 0x0D}
View Source
var MsgLatency = metrics.NewTimer()
View Source
var MsgRxRate = metrics.NewMeter()
View Source
var MsgTxRate = metrics.NewMeter()
Functions ¶
func StartMetricsReporter ¶ added in v0.16.5
Types ¶
type Scenario ¶
type Scenario struct { Workloads []*Workload `yaml:"workloads"` ConnectionDelay int32 `yaml:"connectionDelay"` Metrics *Metrics `yaml:"metrics"` }
func LoadScenario ¶
type Test ¶
type Test struct { TxRequests int32 `yaml:"txRequests"` TxPacing int32 `yaml:"txPacing"` TxMaxJitter int32 `yaml:"txMaxJitter"` RxTimeout int32 `yaml:"rxTimeout"` PayloadMinBytes int32 `yaml:"payloadMinBytes"` PayloadMaxBytes int32 `yaml:"payloadMaxBytes"` LatencyFrequency int32 `yaml:"latencyFrequency"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.