4.115
Last change
on this file since 564ce0f was
b6c1578,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/05/14 at 17:17:08
|
rhealstone: Add rh prefix to all test names
This makes them easier to spot as a group in wildcard searches.
|
-
Property mode set to
100644
|
File size:
825 bytes
|
Rev | Line | |
---|
[19e9bf8] | 1 | = Message Latency Benchmark |
---|
| 2 | |
---|
| 3 | This benchmark measures the intertask message latency. This is the delay within |
---|
| 4 | RTEMS between a running task using the rtems_message_queue to send a message to |
---|
| 5 | a 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 | |
---|
| 15 | This benchmark consists of a high priority task and a low priority task. The |
---|
| 16 | benchmark starts in the high priority task, which blocks on a call to rtems_ |
---|
| 17 | message_queue recieve. By accounting for the overhead of the task switch from |
---|
| 18 | the high priority task to the low priority task, and the actual time to recieve |
---|
| 19 | the message, the intertask message latency is found. |
---|
| 20 | |
---|
| 21 | The average is found and the overhead (the time of the first run) is subtracted |
---|
| 22 | out in the call to put_time. |
---|
Note: See
TracBrowser
for help on using the repository browser.