This example prints the read, write and total DDR bandwidth during memcpy operation. The memcpy operation is done on source and destination buffers allocated from DDR scratch region. The cache is disabled for this memory region. The values are calculated using the DDR performance counter registers available in DDR Subsystem. First performance counter is configured to count write operations and second one is configured to count read operations. The idle thread updates the DDR performance load stats.
Parameter | Value |
---|---|
CPU + OS | wkup-r5fss0-0 freertos |
Toolchain | ti-arm-clang |
Board | am62px-sk |
Example folder | examples/drivers/ddr/ddr_perf/ |
Shown below is a sample output when the application is run,