in qps_monitor.go [30:38]
func (p *QPSMonitor) QPS() int32 { var totalCount int32 = 0 for i, queryCount := range p.totalQueries { if int32(i) != p.latestIndex { totalCount += queryCount } } return totalCount / (p.delaySecond - 1) }