Home
last modified time | relevance | path

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

/openthread-2.7.6/src/core/thread/
Dlink_quality.hpp75 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()
Dlink_quality.cpp49 void SuccessRateTracker::AddSample(bool aSuccess, uint16_t aWeight) in AddSample() function in ot::SuccessRateTracker
/openthread-2.7.6/tests/unit/
Dtest_link_quality.cpp393 rateTracker.AddSample(true, sampleCount); in TestSuccessRateTracker()
406 rateTracker.AddSample(false, sampleCount); in TestSuccessRateTracker()
455 rateTracker.AddSample(isSuccess, weight); in TestSuccessRateTracker()
/openthread-2.7.6/src/core/mac/
Dmac.cpp1246 mCcaSuccessRateTracker.AddSample(aCcaSuccess, mCcaSampleCount); in RecordCcaStatus()