source: rtems/testsuites/rhealstone/mlatency/mlatency.adoc @ 19e9bf8

4.115
Last change on this file since 19e9bf8 was 19e9bf8, checked in by Daniel Ramirez <javamonn@…>, on 01/04/14 at 19:58:44

Added Rhealstone benchmark to testsuites

The Rhealstone benchmarks six operations that are critical components
of a real-time system. It allows for an objective analysis to be
performed, and allows for comparisons between systems.
See rhealstone/README for more information.

  • Property mode set to 100644
File size: 825 bytes
Line 
1= Message Latency Benchmark
2
3This benchmark measures the intertask message latency. This is the delay within
4RTEMS between a running task using the rtems_message_queue to send a message to
5a waiting task and that task waking up and receiving the message.
6
7== Directives
8
9  * rtems_message_queue_send
10  * rtems_message_queue_receive
11
12
13== Methodology
14
15This benchmark consists of a high priority task and a low priority task. The
16benchmark starts in the high priority task, which blocks on a call to rtems_
17message_queue recieve. By accounting for the overhead of the task switch from
18the high priority task to the low priority task, and the actual time to recieve
19the message, the intertask message latency is found.
20
21The average is found and the overhead (the time of the first run) is subtracted
22out in the call to put_time.
Note: See TracBrowser for help on using the repository browser.