CounterChainΒΆ

CounterChain describes a set of chained hardware counters, where a given counter increments only when the counter below it wraps around. Order is specified as outermost counter first to innermost counter last.

CounterChains are generally created implicitly for small numbers of counters, and need only be created explicitly for more than 3 chained counters.


Static methods

object CounterChain
def apply(counters: Counter*): CounterChain
Creates a chain of counters. Order is specified as outermost on the left to innermost on the right.