summaryrefslogtreecommitdiff
path: root/platform_opengl.c
diff options
context:
space:
mode:
authorPeter Fors <peter.fors@mindkiller.com>2025-10-25 23:07:35 +0200
committerPeter Fors <peter.fors@mindkiller.com>2025-10-25 23:28:22 +0200
commitb2f646d9f99dd272f3b3a9d045b5039e6fc1dc50 (patch)
tree9ea8977531306f414d94ceca7dcfa6f17c204687 /platform_opengl.c
parent54ca8318923fcf11e1cf507bd516b210ba7cf221 (diff)
Refactor benchmarking to self-contained C implementation
- 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)
Diffstat (limited to 'platform_opengl.c')
0 files changed, 0 insertions, 0 deletions