Searched refs:SLICE_SIZE (Results 1 – 3 of 3) sorted by relevance
17 #define SLICE_SIZE 200 macro19 #define BUSY_MS (SLICE_SIZE + 20)21 #define HALF_SLICE_SIZE (SLICE_SIZE >> 1)74 (k_ms_to_ticks_floor32(SLICE_SIZE) in thread_time_slice()78 (k_ms_to_ticks_ceil32(SLICE_SIZE) in thread_time_slice()143 uint32_t slice_ticks = k_ms_to_ticks_ceil32(SLICE_SIZE); in ZTEST()172 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(0)); in ZTEST()
26 #define SLICE_SIZE 200 macro30 #define BUSY_MS (SLICE_SIZE + 20)47 int64_t expected_slice_min = k_ticks_to_ms_floor64(k_ms_to_ticks_ceil32(SLICE_SIZE) - 1); in thread_tslice()48 int64_t expected_slice_max = k_ticks_to_ms_ceil64(k_ms_to_ticks_ceil32(SLICE_SIZE) + 1); in thread_tslice()114 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(BASE_PRIORITY)); in ZTEST()
24 #define SLICE_SIZE k_ticks_to_ms_floor64(IDLE_THRESH >> 1) macro45 t, SLICE_SIZE, SLICE_SIZE_LIMIT); in thread_tslice()48 zassert_true(t >= SLICE_SIZE); in thread_tslice()102 k_sched_time_slice_set(SLICE_SIZE, K_PRIO_PREEMPT(0)); in ZTEST()109 K_MSEC(SLICE_SIZE)); in ZTEST()