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

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

File Facts

System
Linux kernel
Corpus path
rust/zerocopy/benches/write_to_dynamic_size.x86-64.mca
Extension
.mca
Size
3104 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:      2890
Total uOps:        2500

Dispatch Width:    4
uOps Per Cycle:    0.87
IPC:               0.66
Block RThroughput: 6.3


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, rcx
 1      1     0.50                        lea	r14, [2*rsi + 5]
 1      1     0.33                        and	r14, -2
 1      1     0.33                        cmp	rcx, r14
 1      1     1.00                        jne	.LBB5_2
 1      1     0.33                        mov	rax, rdi
 1      1     0.33                        mov	rdi, rdx
 1      1     0.33                        mov	rsi, rax
 1      1     0.33                        mov	rdx, rbx
 4      7     1.00    *                   call	qword ptr [rip + memcpy@GOTPCREL]
 1      1     0.33                        cmp	rbx, r14
 1      1     0.50                        sete	al
 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]  
 -      -     4.66   4.64   4.00   4.70   4.00   3.00   

Resource pressure by instruction:
[0]    [1]    [2]    [3]    [4]    [5]    [6.0]  [6.1]  Instructions:
 -      -      -      -     1.00    -      -     1.00   push	r14
 -      -      -      -     1.00    -     1.00    -     push	rbx
 -      -      -      -     1.00    -      -     1.00   push	rax
 -      -     0.02   0.97    -     0.01    -      -     mov	rbx, rcx
 -      -     0.97   0.03    -      -      -      -     lea	r14, [2*rsi + 5]
 -      -     0.63   0.35    -     0.02    -      -     and	r14, -2
 -      -     0.31   0.34    -     0.35    -      -     cmp	rcx, r14
 -      -      -      -      -     1.00    -      -     jne	.LBB5_2
 -      -     0.33   0.33    -     0.34    -      -     mov	rax, rdi
 -      -     0.36   0.31    -     0.33    -      -     mov	rdi, rdx
 -      -     0.33   0.35    -     0.32    -      -     mov	rsi, rax
 -      -     0.35   0.63    -     0.02    -      -     mov	rdx, rbx

Annotation

Implementation Notes