AM62x MCU+ SDK  11.01.00
Dhrystone Benchmark

Introduction

Dhrystone is a synthetic benchmark that measures and compares processor performance.

The Dhrystone benchmark program contains 52 assignments, 33 control statements and 17 procedures/ function calls. Unlike Whetstone benchmarking, the program doesn't contain floating point operation and concentrates on string handling and standard code, heavily influenced by hardware and software design, compiler and linker options, code optimizing, cache memory, wait states and integer data types. 103 statements are dynamically executed.

Supported Combinations

Parameter Value
CPU + OS a53ss0-0 freertos
Toolchain arm.gnu.aarch64-none
Boards am62x-sk, am62x-sip-sk, am62x-sk-lp
Example folder examples/benchmarks/dhrystone_benchmark

Steps to Run the Example

Sample output for Dhrystone benchmark example

BENCHMARK START - DHRYSTONE
Dhrystone Benchmark, Version 2.1 (Language: C)
- BEGIN cycle count: 14
- END Cycle count: 99582466
- USER cycle count: 99582452
BENCHMARK Using clock 1400000000
- Usertime in sec: 0.071130
- Microseconds for one run through Dhrystone: 0.1
- Dhrystones per Second: 7029351.2
Normalized MIPS/MHz: 2.8577
BENCHMARK END
All tests have passed.