summaryrefslogtreecommitdiff
path: root/irq_test_c/README
diff options
context:
space:
mode:
Diffstat (limited to 'irq_test_c/README')
-rw-r--r--irq_test_c/README26
1 files changed, 26 insertions, 0 deletions
diff --git a/irq_test_c/README b/irq_test_c/README
new file mode 100644
index 0000000..28a0309
--- /dev/null
+++ b/irq_test_c/README
@@ -0,0 +1,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 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.