Expand description
CPU SIMD profiling via perf stat + renacer + trueno-explain. Spec section 4.2.
Structs§
- Perf
Stat Result - Parsed perf stat output.
Constants§
- AVX2_
EVENTS - Architecture-specific perf events for SIMD utilization.
- AVX512_
EVENTS - SIMD_
PERF_ EVENTS - perf stat hardware counters for SIMD analysis.
Functions§
- parse_
perf_ stat_ csv - Parse perf stat CSV output (perf writes stats to stderr). Format: value,unit,event_name,… (with -x ,)
- profile_
simd - Profile a SIMD function.
- run_
perf_ stat - Run perf stat and parse the output.