[][src]Module testbench::noinline

Inlining barriers for function calls

Inlining is great for optimization. But it can cause problems in micro- benchmarking and multi-threaded validation as it leads some testing and benchmarking constructs to be optimized out. This module can be used to avoid this outcome without altering the function being called itself.

Functions

call

Inlining barrier for Fn

call_mut

Inlining barrier for FnMut

call_once

Inlining barrier for FnOnce