How eembc/coremark works
CoreMark is a processor-core benchmark. The user runs it with selected seeds and iteration settings; the program initializes benchmark data, times repeated execution, checks CRCs and reports performance and validation results. Its workload includes linked-list, matrix and state-machine benchmarks, with platform-specific timing, initialization and execution support. The excerpts establish the main orchestration and list-to-matrix/state calls; other internal calls and platform wiring are not shown, so those links are omitted.
Main entry points: core_main.c Run orchestration · core_list_join.c Iteration driver · core_matrix.c Matrix workload · core_state.c State workload
Components 13
Benchmark runtime
- Run orchestration
core_main.c - Iteration driver
core_list_join.c - CRC and results
core_main.c - Seeds and CRC
core_util.c - Benchmark interfaces
coremark.h
Benchmark workloads
- List workload
core_list_join.c - Matrix workload
core_matrix.c - State workload
core_state.c
Platform support
- POSIX port
posix/core_portme.c - POSIX configuration
posix/core_portme.h - Barebones port
barebones/core_portme.c - Simple port
simple/core_portme.c
Other components
- Benchmark user
Connections 6
- Benchmark user → Run orchestration: runs
README.md - Run orchestration → Iteration driver: executes
core_main.c - Iteration driver → State workload: dispatches
core_list_join.c - Iteration driver → Matrix workload: dispatches
core_list_join.c - Run orchestration → CRC and results: reports
README.md - Run orchestration → POSIX port: initializes port