zephyr/samples/microkernel/benchmark/app_kernel/src/fifo_r.c
Dan Kalowsky 2a63743192 cleanup: removing NOMANUAL
The \NOMANUAL tag is a remnant from days of yore and is no longer
needed or useful.  Cleaning up the code references to this.

Change-Id: I1b8cc9c9560d1dbb711f05fa63fd23386789875c
Signed-off-by: Dan Kalowsky <daniel.kalowsky@intel.com>
2016-02-05 20:24:35 -05:00

45 lines
1016 B
C

/* fifo_r.c */
/*
* Copyright (c) 1997-2010, 2013-2014 Wind River Systems, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
#include "receiver.h"
#include "master.h"
#ifdef FIFO_BENCH
/* queue transfer speed test */
/**
*
* @brief Data receive task
*
* @return N/A
*/
void dequtask(void)
{
int x, i;
for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
task_fifo_get_wait(DEMOQX1, &x);
}
for (i = 0; i < NR_OF_FIFO_RUNS; i++) {
task_fifo_get_wait(DEMOQX4, &x);
}
}
#endif /* FIFO_BENCH */