[−][src]Module global_counter::primitive::fast
This module contains more performant hybrid counters, implemented using thread-locals and atomics.
These counters rely on the assumption that thread-locals are faster than global atomics, which they are- on most systems.
Structs
ApproxCounterI8 | An approximate counter. |
ApproxCounterI16 | An approximate counter. |
ApproxCounterI32 | An approximate counter. |
ApproxCounterI64 | An approximate counter. |
ApproxCounterIsize | An approximate counter. |
ApproxCounterU8 | An approximate counter. |
ApproxCounterU16 | An approximate counter. |
ApproxCounterU32 | An approximate counter. |
ApproxCounterU64 | An approximate counter. |
ApproxCounterUsize | An approximate counter. |
FlushingCounterI8 | A flushing counter. |
FlushingCounterI16 | A flushing counter. |
FlushingCounterI32 | A flushing counter. |
FlushingCounterI64 | A flushing counter. |
FlushingCounterIsize | A flushing counter. |
FlushingCounterU8 | A flushing counter. |
FlushingCounterU16 | A flushing counter. |
FlushingCounterU32 | A flushing counter. |
FlushingCounterU64 | A flushing counter. |
FlushingCounterUsize | A flushing counter. |