Module utils

Source
Expand description

Provides utility functions for timing and random number generation.

Structs§

VibeRng
A fast, non-cryptographic random number generator.

Enums§

BiasStrategy
Strategies for biasing the random number generator. Used by the task router to select nodes.

Functions§

elapsed_ns
Returns the number of nanoseconds elapsed since timer_init() was called.
timer_init
Initializes the global timer. Must be called once at startup.