AM64x MCU+ SDK  08.04.00
Dhrystone benchmarking demo

Introduction

This example shows an application for benchmarking the FreeRTOS SMP kernel and single core FreeRTOS kernel using dhrystone benchmarking.

The application runs the the dhrystone benchmarking demo using the given number of threads and iterations and logs the results as the number of dhrystones run per second.

The application runs with thread number equal to 1, 2, 5 and 10, with iteration number 30000000.

Supported Combinations

Attention
A53 NORTOS, A53 FREERTOS and A53 FREERTOS SMP support is experimental and is NOT supported by TI.
Parameter Value
CPU + OS a53ss0-0 freertos
a53ss0-0 freertos-smp
Toolchain arm.gnu.aarch64-none
Board am64x-evm
Example folder examples/kernel/freertos/dhrystone_benchmark/

Steps to Run the Example

See Also

Driver Porting Layer (DPL)

Sample Output

Shown below is a sample output when the benchmark application is run,

[DHRYSTONE BENCHMARKING] Iterations : 30000000
[DHRYSTONE BENCHMARKING] Threads : 1
[DHRYSTONE BENCHMARKING] Dhrystones per second : 1299
[DHRYSTONE BENCHMARKING] Iterations : 30000000
[DHRYSTONE BENCHMARKING] Threads : 2
[DHRYSTONE BENCHMARKING] Dhrystones per second : 1183
[DHRYSTONE BENCHMARKING] Iterations : 30000000
[DHRYSTONE BENCHMARKING] Threads : 5
[DHRYSTONE BENCHMARKING] Dhrystones per second : 281
[DHRYSTONE BENCHMARKING] Iterations : 30000000
[DHRYSTONE BENCHMARKING] Threads : 10
[DHRYSTONE BENCHMARKING] Dhrystones per second : 50
All tests have passed!!