Warning, /testsuites/rhealstone/rhmlatency/rhmlatency.adoc is written in an unsupported language. File is not indexed.
0001 = Message Latency Benchmark
0002
0003 This benchmark measures the intertask message latency. This is the delay within
0004 RTEMS between a running task using the rtems_message_queue to send a message to
0005 a waiting task and that task waking up and receiving the message.
0006
0007 == Directives
0008
0009 * rtems_message_queue_send
0010 * rtems_message_queue_receive
0011
0012
0013 == Methodology
0014
0015 This benchmark consists of a high priority task and a low priority task. The
0016 benchmark starts in the high priority task, which blocks on a call to rtems_
0017 message_queue recieve. By accounting for the overhead of the task switch from
0018 the high priority task to the low priority task, and the actual time to recieve
0019 the message, the intertask message latency is found.
0020
0021 The average is found and the overhead (the time of the first run) is subtracted
0022 out in the call to put_time.