snsary.utils.tracing.history

Represents a FIFO list of Samples. Samples are added to the list with add. The oldest Sample is ejected when the list reaches the specified max_length.

Module Contents

class snsary.utils.tracing.history.History(*, max_length)
property max_length
add(sample)
reset()
__len__()
__iter__()