Home
last modified time | relevance | path

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

/openthread-latest/src/core/utils/
Dhistory_tracker.cpp519 uint16_t HistoryTracker::List::Add(uint16_t aMaxSize, Timestamp aTimestamps[]) in Add() argument
531 aTimestamps[mStartIndex].SetToNow(); in Add()
537 const Timestamp aTimestamps[], in Iterate() argument
547 aEntryAge = aTimestamps[aListIndex].GetDurationTill(aIterator.GetInitTime()); in Iterate()
573 void HistoryTracker::List::UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]) in UpdateAgedEntries() argument
591 if (aTimestamps[index].GetDurationTill(now) < kMaxAge) in UpdateAgedEntries()
596 aTimestamps[index].MarkAsDistantPast(); in UpdateAgedEntries()
Dhistory_tracker.hpp326 uint16_t Add(uint16_t aMaxSize, Timestamp aTimestamps[]);
327 void UpdateAgedEntries(uint16_t aMaxSize, Timestamp aTimestamps[]);
330 const Timestamp aTimestamps[],