zephyr/tests/kernel
Andy Ross c4e2f1b217 tests/kernel/mem_pool/mem_pool_threadsafe: Reduce tick rate
Qemu just can't handle 1000 Hz ticks.  On our CI machines, CONFIG_HZ
on the host (which is the limit of timing precision for things like
idle wakeups and signal delivery, both of which qemu seems to use for
timing) is 250.  When the mismatch gets this large, we start seeing
artifacts like interrupts being delivered "in the past" (i.e. code
sees a z_clock_elapsed() value of "2" ticks before getting a
z_clock_announce() call for "1").

As it happens, this test doesn't actually require timing with that
precision, it just wants "lots of context switching" to exercise the
threadsafety of the mem_pool APIs.  So decrease the tick rate to the
100Hz default, but put a loop counter in the worker threads to force
them to do 10x more work, keeping the number of preemptions constant.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-03-15 05:50:43 +01:00
..
arm_irq_vector_table all: Update reserved function names 2019-03-11 13:48:42 -04:00
arm_runtime_nmi
boot_page_table
common all: Update reserved function names 2019-03-11 13:48:42 -04:00
context tests: kernel: context: Fix build issue with RV32M1_LPTMR_TIMER 2019-03-13 17:02:05 -05:00
critical tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 13:02:20 -06:00
device device: Extend device_set_power_state API to support async requests 2019-03-14 14:26:15 +01:00
early_sleep tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 13:02:20 -06:00
fatal all: Update reserved function names 2019-03-11 13:48:42 -04:00
fifo all: Update reserved function names 2019-03-11 13:48:42 -04:00
fp_sharing all: Update reserved function names 2019-03-11 13:48:42 -04:00
gen_isr_table all: Update reserved function names 2019-03-11 13:48:42 -04:00
interrupt all: Update reserved function names 2019-03-11 13:48:42 -04:00
lifo m2gl025_miv: Ignore lifo_usage tests 2019-03-04 12:39:09 -05:00
mbox tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
mem_heap/mheap_api_concept
mem_pool tests/kernel/mem_pool/mem_pool_threadsafe: Reduce tick rate 2019-03-15 05:50:43 +01:00
mem_protect all: Update reserved function names 2019-03-11 13:48:42 -04:00
mem_slab tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
mp all: Update reserved function names 2019-03-11 13:48:42 -04:00
msgq/msgq_api tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
mutex tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
obj_tracing tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
pending tests: Mass SMP disablement on non-SMP-safe tests 2019-02-28 12:47:12 -08:00
pipe all: Update reserved function names 2019-03-11 13:48:42 -04:00
poll tests: Mass SMP disablement on non-SMP-safe tests 2019-02-27 14:22:06 -08:00
profiling/profiling_api power: rename CPU_LPS_n power states 2019-02-26 02:30:13 +01:00
queue tests: Mass SMP disablement on non-SMP-safe tests 2019-02-27 14:22:06 -08:00
sched all: Update reserved function names 2019-03-11 13:48:42 -04:00
semaphore macros: deleted macros SECONDS(), MSEC(), USEC() 2019-03-04 19:04:21 -05:00
sleep all: Update reserved function names 2019-03-11 13:48:42 -04:00
smp tests/kernel/smp: Clean up "guess waiting" on SMP thread exit 2019-03-13 19:15:20 +01:00
spinlock all: Update reserved function names 2019-03-11 13:48:42 -04:00
stack tests: Mass SMP disablement on non-SMP-safe tests 2019-02-27 14:22:06 -08:00
static_idt
threads all: Update reserved function names 2019-03-11 13:48:42 -04:00
tickless all: Update reserved function names 2019-03-11 13:48:42 -04:00
timer tests/timer_api: revert testcase configuration 2019-03-01 14:53:33 -08:00
workq all: Update reserved function names 2019-03-11 13:48:42 -04:00
xip tests/xip: exclude Minnowboard from test (does not do XIP) 2019-03-07 20:31:31 -05:00