Skip to main content

FN_ID_BENCH_ARC_PAGE_ALLOC

Constant FN_ID_BENCH_ARC_PAGE_ALLOC 

Source
pub const FN_ID_BENCH_ARC_PAGE_ALLOC: u32 = 200;
Expand description

Bench: allocate N × Arc<Page> where Page is a 4 KiB page-aligned block.

  • Input: u32 LE = N.
  • Output: u64 LE = elapsed RDTSC cycles total. The host divides by N to get per-Arc cost.