Searched refs:AddSample (Results 1 – 4 of 4) sorted by relevance
75 void AddSample(bool aSuccess, uint16_t aWeight = kDefaultWeight);333 mFrameErrorRate.AddSample(aTxStatus, OPENTHREAD_CONFIG_FRAME_TX_ERR_RATE_AVERAGING_WINDOW); in AddFrameTxStatus()347 mMessageErrorRate.AddSample(aTxStatus, OPENTHREAD_CONFIG_IPV6_TX_ERR_RATE_AVERAGING_WINDOW); in AddMessageTxStatus()
49 void SuccessRateTracker::AddSample(bool aSuccess, uint16_t aWeight) in AddSample() function in ot::SuccessRateTracker
393 rateTracker.AddSample(true, sampleCount); in TestSuccessRateTracker()406 rateTracker.AddSample(false, sampleCount); in TestSuccessRateTracker()455 rateTracker.AddSample(isSuccess, weight); in TestSuccessRateTracker()
1246 mCcaSuccessRateTracker.AddSample(aCcaSuccess, mCcaSampleCount); in RecordCcaStatus()