rust/zerocopy/benches/new_box_zeroed_with_elems_dynamic_size.x86-64.mca

Source file repositories/reference/linux-study-clean/rust/zerocopy/benches/new_box_zeroed_with_elems_dynamic_size.x86-64.mca

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/new_box_zeroed_with_elems_dynamic_size.x86-64.mca
Extension
.mca
Size
3318 bytes
Lines
78
Domain
Rust Kernel Layer
Bucket
Rust API Membrane
Inferred role
Rust Kernel Layer: Rust API Membrane
Status
atlas-only

Why This File Exists

Rust-side wrappers and abstractions around kernel C APIs, ownership contracts, allocation, synchronization, and module integration.

Dependency Surface

Detected Declarations

Annotated Snippet

Iterations:        100
Instructions:      1900
Total Cycles:      2990
Total uOps:        2800

Dispatch Width:    4
uOps Per Cycle:    0.94
IPC:               0.64
Block RThroughput: 7.0


Instruction Info:
[1]: #uOps
[2]: Latency
[3]: RThroughput
[4]: MayLoad
[5]: MayStore
[6]: HasSideEffects (U)

[1]    [2]    [3]    [4]    [5]    [6]    Instructions:
 2      5     1.00           *            push	r14
 2      5     1.00           *            push	rbx
 2      5     1.00           *            push	rax
 1      1     0.33                        mov	rbx, rdi
 1      1     0.33                        movabs	rax, 4611686018427387901
 1      1     0.33                        cmp	rdi, rax
 1      1     1.00                        ja	.LBB5_1
 1      1     0.50                        lea	r14, [2*rbx + 4]
 4      7     1.00    *                   call	qword ptr [rip + __rustc::__rust_no_alloc_shim_is_unstable_v2@GOTPCREL]
 1      1     0.33                        mov	esi, 2
 1      1     0.33                        mov	rdi, r14
 4      7     1.00    *                   call	qword ptr [rip + __rustc::__rust_alloc_zeroed@GOTPCREL]
 1      1     1.00                        jmp	.LBB5_3
 1      0     0.25                        xor	eax, eax
 1      1     0.33                        mov	rdx, rbx
 1      1     0.33                        add	rsp, 8
 1      6     0.50    *                   pop	rbx
 1      6     0.50    *                   pop	r14
 1      1     1.00                  U     ret


Resources:
[0]   - SBDivider
[1]   - SBFPDivider
[2]   - SBPort0
[3]   - SBPort1
[4]   - SBPort4
[5]   - SBPort5
[6.0] - SBPort23
[6.1] - SBPort23


Resource pressure per iteration:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  
 -      -     3.97   3.98   5.00   5.05   4.50   4.50   

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -      -      -     1.00    -     0.50   0.50   push	r14
 -      -      -      -     1.00    -     0.50   0.50   push	rbx
 -      -      -      -     1.00    -     0.50   0.50   push	rax
 -      -     0.05   0.94    -     0.01    -      -     mov	rbx, rdi
 -      -     0.94   0.06    -      -      -      -     movabs	rax, 4611686018427387901
 -      -     0.06   0.94    -      -      -      -     cmp	rdi, rax
 -      -      -      -      -     1.00    -      -     ja	.LBB5_1
 -      -     0.94   0.06    -      -      -      -     lea	r14, [2*rbx + 4]
 -      -      -      -     1.00   1.00   1.00   1.00   call	qword ptr [rip + __rustc::__rust_no_alloc_shim_is_unstable_v2@GOTPCREL]
 -      -     0.98   0.02    -      -      -      -     mov	esi, 2
 -      -     0.02   0.94    -     0.04    -      -     mov	rdi, r14
 -      -      -      -     1.00   1.00   1.00   1.00   call	qword ptr [rip + __rustc::__rust_alloc_zeroed@GOTPCREL]

Annotation

Implementation Notes