Crate global_counter

Source
Expand description

This crate implements global, thread-safe counters.

Concerning performance, the general ranking is, from fastest to slowest:

Don’t forget to make your own benchmarks, as those are very specific to the computing system in general and, in this case, to the OS in specific.

Modules§

  • This module contains a global, generic counter and the accompanying Inc trait.
  • This module contains global counters for primitive integer types.

Macros§