CoreMark benchmark

This example runs the CoreMark benchmark (EEMBC CoreMark 1.0) on the device.

CoreMark tests the performance of a CPU core by exercising a list processing algorithm, a matrix multiply, and a state machine. The result is reported as CoreMark/MHz - iterations per second divided by the CPU clock frequency.

The timing is provided by the SDK DWT cycle counter (Arch_Counter), which counts CPU clock cycles with 1-cycle resolution.

Expected output

2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : <cycle count>
Total time (secs): <seconds>
Iterations/Sec   : <score>
Iterations       : 1000
Compiler version : TI ARM Clang <version>
Compiler flags   : -mcpu=cortex-m33 -mthumb -mfpu=fpv5-sp-d16 -mfloat-abi=hard
Memory location  : STATIC
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x988c
Correct operation validated. See README.md for run and reporting rules.
CoreMark 1.0 : <score> / TI ARM Clang <version> ...

External Connections

None