Searched refs:lastSampleWeight (Results 1 – 1 of 1) sorted by relevance
106 double lastSampleWeight = Math.exp(-1.0 * timeDelta / FILTER_TIME_CONSTANT); in updateMloRates() local107 double currentSampleWeight = 1.0 - lastSampleWeight; in updateMloRates()110 link.getLostTxPacketsPerSecond() * lastSampleWeight in updateMloRates()113 link.getSuccessfulTxPacketsPerSecond() * lastSampleWeight in updateMloRates()116 link.getSuccessfulRxPacketsPerSecond() * lastSampleWeight in updateMloRates()119 link.getRetriedTxPacketsPerSecond() * lastSampleWeight in updateMloRates()148 double lastSampleWeight = Math.exp(-1.0 * timeDelta / FILTER_TIME_CONSTANT); in updateWifiInfoRates() local149 double currentSampleWeight = 1.0 - lastSampleWeight; in updateWifiInfoRates()151 setLostTxPacketsPerSecond(getLostTxPacketsPerSecond() * lastSampleWeight in updateWifiInfoRates()154 setSuccessfulTxPacketsPerSecond(getSuccessfulTxPacketsPerSecond() * lastSampleWeight in updateWifiInfoRates()[all …]