Home
last modified time | relevance | path

Searched refs:pFast (Results 1 – 1 of 1) sorted by relevance

/dports/security/vault/vault-1.8.2/vendor/github.com/apple/foundationdb/fdbrpc/
H A Dsim2.actor.cpp163 const double pFast = 0.999; in halfLatency() local
164 if (a <= pFast) { in halfLatency()
165 a = a / pFast; in halfLatency()
166 …return 0.5 * (FLOW_KNOBS->MIN_NETWORK_LATENCY * (1-a) + FLOW_KNOBS->FAST_NETWORK_LATENCY/pFast * a… in halfLatency()
168 a = (a-pFast) / (1-pFast); // uniform 0-1 again in halfLatency()