Engineering Category: Deterministic Sovereign Compute Kernel
Best Use in Production: Pure-Rust C64-bounded integer transformation kernel verified across 64 canonical test vectors for deterministic Snap-Circuit composition.
When to Select This Capsule: Holds the #1 Equivalence Crown across 2 functionally identical implementations (fastest verified hardware _rdtsc). Sub-10-cycle hardware kernel (281177/50000 cyc/op); safe for ultra-hot per-sample or per-packet inner loops.
Snap-Circuit Wiring Role: Specialized Multi-Pin Stage `(u64,u64,bool)->u8` — wire matching input pins via `snap_dag` or `snap_pipeline`.
.text: 35 B (12 x86_64 insns)276 B)pub const fn servo_hang_monitor_level(last_activity_ms: u64, now_ms: u64, waiting_for_io: bool) -> u8 { if waiting_for_io || now_ms <= last_activity_ms { return 0; } let elapsed = now_ms - last_activity_ms; if elapsed >= 5_000 { 2 } else if elapsed >= 1_000 { 1 } else { 0 } }
rustc -C opt-level=3 x86_64 Disassembly (35 B .text / 12 insns)servo_hang_monitor_level:
sub rsi, rdi
setbe al
or al, dl
je .LBB7_2
xor eax, eax
ret
.LBB7_2:
mov al, 2
cmp rsi, 4999
ja .LBB7_4
cmp rsi, 1000
setae al
.LBB7_4:
ret
| Global Rank | Capsule & Domain | Hardware _rdtsc | Latency | Throughput | ELF .text | Ternary Vote | Author Aye |
|---|---|---|---|---|---|---|---|
| #32 | servo_hang_monitor_level (THIS CAPSULE) domain: ayecast-x86_64 | id: 13c9bfa060f3b940e26d9ef4afaafb84 | 281177/50000 cyc/op | 610281/400000 ns/op | 400000000/610281 ops/us | 35 B .text (12 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |
| #33 | servo_hang_monitor_level domain: ayecast-x86_64 | id: 8eca2362e481096a6fa43e05cf66a37d | 7077/1250 cyc/op | 307207/200000 ns/op | 200000000/307207 ops/us | 35 B .text (12 insns) | + (1) | aye::Hue+Gemini(0+1)::x86_64 @ 432Hz |