source: ada-examples/irq_test/README

ada-examples-4-10-branch ada-examples-4-10-2
Last change on this file 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
5WARNING!!! Code is ERC32 specific.
6
7The directories irq_test and irq_test_c are related and provided
8for performance comparisons.
9
10This directory contains a simple benchmark in Ada of a forced interrupt
11and provides a baseline comparison point for the performance
12of the GNAT implementation of Ada interrupt tasks on RTEMS.
13
14On 17 October 2007, this program run on TSIM reported that
15this program took 315 microseconds on a 14 Mhz SPARC/ERC32 to complete
16the 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
24In comparison, the irq_test_c program implementing the same
25sequence but using C interrupt tasks took only 158 microseconds
26on the same target.
Note: See TracBrowser for help on using the repository browser.