summaryrefslogtreecommitdiffstats
path: root/irq_test/README
blob: 9a0fac66cf6ef8e91ff14882a576cb0082665a46 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#
# $Id$
#

WARNING!!! Code is ERC32 specific.

The directories irq_test and irq_test_c are related and provided
for performance comparisons.

This directory contains a simple benchmark in Ada of a forced interrupt
and provides a baseline comparison point for the performance
of the GNAT implementation of Ada interrupt tasks on RTEMS.

On 17 October 2007, this program run on TSIM reported that
this program took 315 microseconds on a 14 Mhz SPARC/ERC32 to complete
the following sequence:

  + itest: Start Timer
    + itest: Force IRQ
    + hidden Ada ISR Handler: Release a simple binary semaphore
  + Handler Task: Wake up from an Ada entry
  + Handler Task: Stop Timer

In comparison, the irq_test_c program implementing the same
sequence but using C interrupt tasks took only 158 microseconds
on the same target.