summaryrefslogtreecommitdiff
path: root/mknes_mapper.c
Commit message (Collapse)AuthorAgeFilesLines
* Refactor benchmarking to self-contained C implementationPeter Fors2025-10-251-0/+2
| | | | | | | | | | | | | - Add mknes_bench.c with direct PMC access via perf_event_open() - Remove dependency on external perf/awk for statistics - Add RT priority and CPU affinity control in C code - Use static BSS allocation (page-aligned) instead of malloc - Add stalled-cycles-backend counter (gracefully handles AMD unavailability) - Add throughput metrics (MIPS, Mcycles/sec) - Optimize Bench.sh to only regenerate profile data when needed - Add -n and -f flags for configurable runs and frames - Suppress mapper messages during benchmark - ~6x faster benchmark workflow (20s first run, 16s subsequent)
* Rearrangement and refactoring and optimizations and more accuracyPeter Fors2025-10-091-0/+112