Commit c5a5b166 authored by Scotty Bauer's avatar Scotty Bauer
Browse files

BetaModule BetaModule2



Test is 10k messages, Before writing into the producer buffers they check to see if they're allowed to write into the buffer. TIming is done with seralizing rdtsc then rdtscp per message.

TEST1
[ 2367.106619] MIN      MAX     AVG     MEDIAN
[ 2367.109727] 474 & 82278 & 524 & 510
TEST2
[ 2410.071404] MIN      MAX     AVG     MEDIAN
[ 2410.074514] 468 & 21774 & 514 & 510
TEST3
[ 2475.564114] MIN      MAX     AVG     MEDIAN
[ 2475.567282] 474 & 152550 & 528 & 510
Signed-off-by: Scotty Bauer's avatarScotty Bauer <sbauer@eng.utah.edu>
parent b6dcfd00
......@@ -245,7 +245,7 @@ static int ipc_thread_func(void *input)
//}
/* wait and get writer slot*/
//wait_for_producer_slot(prod_msg, pTok);
wait_for_producer_slot(prod_msg, pTok);
//imsg->message[0] = 'b';
//imsg->message[1] = 'e';
//imsg->message[2] = 't';
......
......@@ -277,7 +277,7 @@ static int ipc_thread_func(void *input)
//ptok = 0xC1346BAD;
//__builtin_prefetch(cons_msg, 1, 1);
//wait_for_producer_slot(prod_msg, pTok);
wait_for_producer_slot(prod_msg, pTok);
//imsg->message[0] = 'b';
//imsg->message[1] = 'e';
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment