Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for otherRegionPercent (0.11 sec)

  1. pkg/test/loadbalancersim/lb_test.go

    }
    
    func (tm testMetrics) sameRegionPercent() float64 {
    	return (float64(tm.requestsSameRegion) / float64(tm.totalRequests())) * 100
    }
    
    func (tm testMetrics) otherRegionPercent() float64 {
    	return (float64(tm.requestsOtherRegion) / float64(tm.totalRequests())) * 100
    }
    
    func (tm testMetrics) String() string {
    	out := ""
    	out += fmt.Sprintf("      Requests: %d\n", tm.totalRequests())
    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