4.4.1. Building and running the example

To build the debug version of this example, perform the following:

To build the release version of this example, perform the following:

Note

Under Linux, the make clean command is optional. If used, the example is completely rebuilt.

To run this example, enter the following at the command line:

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

Where 40000 specifies the number of transfers to run.

Simulation statistics are displayed as follows:

tb 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 the following at the command line:

Simulation statistics are displayed as follows:

tb 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 given here as examples. They do not constitute any reference in terms of timing. They can vary according to the host configuration on which the example is running.

For information, those figures were obtained on a RedHat Enterprise 4, Intel 32bits, Linux 2.6.9 host.

Copyright © 2009-2013 ARM. All rights reserved.ARM DUI 0455H
Non-ConfidentialID112213