summaryrefslogblamecommitdiffstats
path: root/irq_test_c/README
blob: 28a030935737200c94e337b4aed478ee81842441 (plain) (tree)

























                                                                     
#
# $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 C 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
it took 158 microseconds on a 14 Mhz SPARC/ERC32 to complete
the following sequence:

  + Init: Start Timer
    + Init: Force IRQ
    + ISR: Release a simple binary semaphore
    + ISR Task: Wake up from simple binary semaphore
  + ISR Task: Stop Timer

In comparison, an Ada program implementing the same
sequence but using Ada interrupt tasks took 315 microseconds
on the same target.