AM275 FreeRTOS SDK  11.02.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 r5fss0-0 nortos
Toolchain ti-arm-clang
Boards am275x-evm
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: 7
- END Cycle count: 153441801
- USER cycle count: 153441794
BENCHMARK Using clock 1000000000
- Usertime in sec: 0.153442
- Microseconds for one run through Dhrystone: 0.3
- Dhrystones per Second: 3258564.8
Normalized MIPS/MHz: 1.8546
BENCHMARK END
All tests have passed.