1# Copyright (c) 2023, Meta
2#
3# SPDX-License-Identifier: Apache-2.0
4
5source "Kconfig.zephyr"
6
7config TEST_DURATION_S
8	int "Number of seconds to run the test"
9	range 1 21600
10	default 5
11	help
12	   Duration for the test, in seconds. The range has a reblatively high
13	   upper bound because we should expect that eventfd_read() and
14	   eventfd_write() are stable enough to run for an arbitrarily long
15	   period of time without encountering any race conditions.
16
17config TEST_TIMEOUT_S
18	int "Number of seconds to run the test"
19	range 1 21600
20	default 10
21
22config TEST_STACK_SIZE
23	int "Size of each thread stack in this test"
24	default 2048
25	help
26	  The minimal stack size required to run a no-op thread.
27
28config TEST_EXTRA_ASSERTIONS
29	bool "Add extra assertions into the hot path"
30	help
31	  In order to get a true benchmark, there should be as few branches
32	  as possible on the hot path. Say 'y' here to add extra assertions
33	  on the hot path as well to verify functionality.
34
35config TEST_EXTRA_QUIET
36	bool "Do not print out regular reports"
37	help
38	  In order to get a true benchmark, there should be as few branches
39	  as possible on the hot path. Say 'y' here to skip reporting.
40
41module = EVENTFD_TEST
42module-str = eventfd
43source "subsys/logging/Kconfig.template.log_config"
44