ada-examples-4-10-branchada-examples-4-9-branch
Last change
on this file since 36fcd41 was
14f44a3,
checked in by Joel Sherrill <joel.sherrill@…>, on 10/17/07 at 20:55:06
|
2007-10-17 Joel Sherrill <joel.sherrill@…>
- Makefile, Makefile.shared, rtems_init.c, irq_test/interrupt_pkg.adb,
irq_test/interrupt_pkg.ads, irq_test/irqforce.c,
irq_test/irqtest.adb, rootfs/etc/hosts: Adding new tests as
improvements are made to the RTEMS port of the GNAT run-time.
- empty/Makefile, empty/README, empty/empty.adb,
hello_via_task/.cvsignore, hello_via_task/Makefile,
hello_via_task/hello.adb, irq_test/.cvsignore, irq_test/Makefile,
irq_test/README, irq_test_c/.cvsignore, irq_test_c/Makefile,
irq_test_c/README, irq_test_c/init.c, irq_test_c/irqforce.c: New files.
|
-
Property mode set to
100644
|
File size:
820 bytes
|
Line | |
---|
1 | # |
---|
2 | # $Id$ |
---|
3 | # |
---|
4 | |
---|
5 | WARNING!!! Code is ERC32 specific. |
---|
6 | |
---|
7 | The directories irq_test and irq_test_c are related and provided |
---|
8 | for performance comparisons. |
---|
9 | |
---|
10 | This directory contains a simple benchmark in Ada of a forced interrupt |
---|
11 | and provides a baseline comparison point for the performance |
---|
12 | of the GNAT implementation of Ada interrupt tasks on RTEMS. |
---|
13 | |
---|
14 | On 17 October 2007, this program run on TSIM reported that |
---|
15 | this program took 315 microseconds on a 14 Mhz SPARC/ERC32 to complete |
---|
16 | the following sequence: |
---|
17 | |
---|
18 | + itest: Start Timer |
---|
19 | + itest: Force IRQ |
---|
20 | + hidden Ada ISR Handler: Release a simple binary semaphore |
---|
21 | + Handler Task: Wake up from an Ada entry |
---|
22 | + Handler Task: Stop Timer |
---|
23 | |
---|
24 | In comparison, the irq_test_c program implementing the same |
---|
25 | sequence but using C interrupt tasks took only 158 microseconds |
---|
26 | on the same target. |
---|
Note: See
TracBrowser
for help on using the repository browser.