statistics

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2024 License: MulanPSL-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ChartObj = &Chart{
	X: make([]float64, 0),
	Y: map[string][]float64{
		"PROCESSING": make([]float64, 0),
		"THREADING":  make([]float64, 0),
		"SUCCESS":    make([]float64, 0),
		"FAIL":       make([]float64, 0),
		"QPS":        make([]float64, 0),
		"AVG_TIME":   make([]float64, 0),
	},
	mutex: sync.RWMutex{},
}

Functions

This section is empty.

Types

type Chart

type Chart struct {
	X []float64
	Y map[string][]float64
	// contains filtered or unexported fields
}

type Statistics

type Statistics struct {
	// contains filtered or unexported fields
}

func (*Statistics) AddCustomerNum

func (s *Statistics) AddCustomerNum(n int)

func (*Statistics) Receive

func (s *Statistics) Receive(ctx context.Context, wg *sync.WaitGroup)

Jump to

Keyboard shortcuts

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