functionremoveOldest

Remove all elements from the buffer that are about to leave the sliding time window

Inputs

TypeNameDefaultDescription
BufferbufferMemory of sliding window
RealtActual time instant

Outputs

TypeNameDefaultDescription
BuffernewBufferUpdated memory of sliding window