source: ada-examples/irq_test_c/README @ 92f495a

ada-examples-4-10-branch
Last change on this file since 92f495a 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: 781 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 C 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
15it took 158 microseconds on a 14 Mhz SPARC/ERC32 to complete
16the following sequence:
17
18  + Init: Start Timer
19    + Init: Force IRQ
20    + ISR: Release a simple binary semaphore
21    + ISR Task: Wake up from simple binary semaphore
22  + ISR Task: Stop Timer
23
24In comparison, an Ada program implementing the same
25sequence but using Ada interrupt tasks took 315 microseconds
26on the same target.
Note: See TracBrowser for help on using the repository browser.