Searched refs:threshold_fraction (Results 1 – 2 of 2) sorted by relevance
35 threshold_fraction): argument52 self.threshold = threshold_fraction * 100
526 threshold_fraction = threshold / 100.0534 threshold_fraction)544 threshold_fraction)550 def _check_rpcs_in_flight(rpc_type, num_rpcs, threshold, threshold_fraction): argument557 if rpcs_in_flight < (num_rpcs * (1 - threshold_fraction)):560 elif rpcs_in_flight > (num_rpcs * (1 + threshold_fraction)):591 threshold_fraction = threshold / 100.0593 if actual < (expected * (1 - threshold_fraction)):596 if actual > (expected * (1 + threshold_fraction)):