Benchmark code that depends on the state of LITE-related symbols has this dependency removed, and is now coded as if these symbols are not defined. This change has no operational impact, as LITE- related symbols were never defined. Change-Id: I9b9a108223903b8e4dd675a599ca5b8e5cbe7fc7 Signed-off-by: Allan Stephens <allan.stephens@windriver.com>
67 lines
2.3 KiB
C
67 lines
2.3 KiB
C
/* config.h */
|
|
|
|
/*
|
|
* Copyright (c) 1997-2010, 2014-2015 Wind River Systems, Inc.
|
|
*
|
|
* Redistribution and use in source and binary forms, with or without
|
|
* modification, are permitted provided that the following conditions are met:
|
|
*
|
|
* 1) Redistributions of source code must retain the above copyright notice,
|
|
* this list of conditions and the following disclaimer.
|
|
*
|
|
* 2) Redistributions in binary form must reproduce the above copyright notice,
|
|
* this list of conditions and the following disclaimer in the documentation
|
|
* and/or other materials provided with the distribution.
|
|
*
|
|
* 3) Neither the name of Wind River Systems nor the names of its contributors
|
|
* may be used to endorse or promote products derived from this software without
|
|
* specific prior written permission.
|
|
*
|
|
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
|
|
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
* ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
|
* POSSIBILITY OF SUCH DAMAGE.
|
|
*/
|
|
|
|
#ifndef _CONFIG_H
|
|
#define _CONFIG_H
|
|
|
|
/* Max size of a message string */
|
|
#define MAX_MSG 256
|
|
|
|
/* flag for performing the kernel call benchmark */
|
|
#define MICROKERNEL_CALL_BENCH
|
|
|
|
/* flag for performing the Mailbox benchmark */
|
|
#define MAILBOX_BENCH
|
|
|
|
/* flag for performing the Sema benchmark */
|
|
#define SEMA_BENCH
|
|
|
|
/* flag for performing the FIFO benchmark */
|
|
#define FIFO_BENCH
|
|
|
|
/* flag for performing the Mutex benchmark */
|
|
#define MUTEX_BENCH
|
|
|
|
/* flag for performing the Memory Map benchmark */
|
|
#define MEMMAP_BENCH
|
|
|
|
/* flag for performing the Memory Pool benchmark*/
|
|
#define MEMPOOL_BENCH
|
|
|
|
/* flag for performing the Pipes benchmark */
|
|
#define PIPE_BENCH
|
|
|
|
/* flag for performing the Event benchmark */
|
|
#define EVENT_BENCH
|
|
|
|
#endif /* _CONFIG_H */
|