This is the documentation for the latest (main) development branch of HPM SDK. If you are looking for the documentation of previous releases, use the drop-down menu on the left and select the desired version.

3. Core Mark

3.1. Overview

The coremark shows the results of running the coremark program.

3.2. Board Setting

No special settings are required

3.3. Running the example

When the example runs successfully, the coremark result is displayed in the terminal:


> 2K performance run parameters for coremark.
> CoreMark Size    : 666
> Total ticks      : 363094999
> Total time (secs): 15.128958
> Iterations/Sec   : 3965.904251
> Iterations       : 60000
> Compiler version : GCC10.2.1 20200726
> Compiler flags   : -Wall -Wno-format -fomit-frame-pointer -fno-builtin -ffunction-sections -fdata-sections -g -O3 -funroll-all-loops -finline-limit=600 -ftree-dominator-opts -fno-if-conversion2 -fselective-scheduling -fno-code-hoisting -mstrict-align
> Memory location  : STACK
> seedcrc          : 0xe9f5
> [0]crclist       : 0xe714
> [0]crcmatrix     : 0x1fd7
> [0]crcstate      : 0x8e3a
> [0]crcfinal      : 0xbd59
> Correct operation validated. See README.md for run and reporting rules.
> CoreMark 1.0 : 3965.904251 / GCC10.2.1 20200726 -Wall -Wno-format -fomit-frame-pointer -fno-builtin -ffunction-sections -fdata-sections -g -O3 -funroll-all-loops -finline-limit=600 -ftree-dominator-opts -fno-if-conversion2 -fselective-scheduling -fno-code-hoisting -mstrict-align / STACK