4.4.2 Building and running the DMA example

This section describes how to build and run this example.

To build the debug version:

To build the release version of this example:

Note:

Under Linux, the make clean command is optional.

To run this example, enter at the command prompt:

To run this example over a giving number of transfers, enter at the command prompt:

Where 40000 specifies the number of transfers to run.

Simulation statistics are displayed as follows:

module created - 400000 runs
dma module created
Simulation starts...
Simulation ends
--- Simulation statistics: ---------------------------------------------
Total transactions executed : 4400000
Total KBytes transferred    : 210938
Total simulation time       : 18446744.000000 sec.
Real simulation time        : 10.200000 sec.
Transactions per sec.       : 431372.557
KBytes transferred per sec. : 20680.147
------------------------------------------------------------------------ 

To run this example with DMI enabled, enter at the command prompt:

Simulation statistics are displayed:

module created - 400000 runs
dma module created
Simulation starts...
Simulation ends
--- Simulation statistics: ---------------------------------------------
Total transactions executed : 4400000
Total KBytes transferred    : 210938
Total simulation time       : 18446744.000000 sec.
Real simulation time        : 2.180000 sec.
Transactions per sec.       : 2018348.562
KBytes transferred per sec. : 96760.318
------------------------------------------------------------------------ 

Note:

These figures are examples. They do not constitute any reference in terms of timing. They vary with the host configuration.
Non-ConfidentialPDF file icon PDF version100962_0200_03_en
Copyright © 2014–2018 Arm Limited (or its affiliates). All rights reserved.