Skip to main content

Module simd

Module simd 

Source
Expand description

CPU SIMD profiling via perf stat + renacer + trueno-explain. Spec section 4.2.

Structs§

PerfStatResult
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.