Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for sameZonePercent (0.15 sec)

  1. pkg/test/loadbalancersim/lb_test.go

    	requestsOtherRegion uint64
    }
    
    func (tm testMetrics) totalRequests() uint64 {
    	return tm.requestsSameZone + tm.requestsSameRegion + tm.requestsOtherRegion
    }
    
    func (tm testMetrics) sameZonePercent() float64 {
    	return (float64(tm.requestsSameZone) / float64(tm.totalRequests())) * 100
    }
    
    func (tm testMetrics) sameRegionPercent() float64 {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 19 23:29:30 UTC 2022
    - 11K bytes
    - Viewed (0)
Back to top