Skip to main content

workload_size

Function workload_size 

Source
pub const fn workload_size<T: Sized>() -> usize
Expand description

Target single-thread workload size for T. Should ideally be a multiple of a cache line (64 bytes) and close to the L1 cache size (32 KB).