1 /* fifo_r.c */
2 
3 /*
4  * Copyright (c) 1997-2010, 2013-2014 Wind River Systems, Inc.
5  *
6  * SPDX-License-Identifier: Apache-2.0
7  */
8 
9 #include "receiver.h"
10 #include "master.h"
11 
12 #ifdef FIFO_BENCH
13 
14 /* queue transfer speed test */
15 /**
16  *
17  * @brief Data receive task
18  *
19  */
dequtask(void)20 void dequtask(void)
21 {
22 	int x, i;
23 
24 	for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
25 		k_msgq_get(&DEMOQX1, &x, K_FOREVER);
26 	}
27 
28 	for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
29 		k_msgq_get(&DEMOQX4, &x, K_FOREVER);
30 	}
31 }
32 
33 
34 #endif /* FIFO_BENCH */
35