Home
last modified time | relevance | path

Searched refs:test_period (Results 1 – 3 of 3) sorted by relevance

/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/pytest/
Dtest_timer.py18 test_period = int(config['TIMER_TEST_PERIOD'])
21 seconds = (test_period * test_samples) / 1_000_000
23 periods_sec = test_period / 1_000_000
27 expected_period = test_period * sys_clock_hw_cycles_per_sec / 1_000_000
35 min_bound = (test_period - period_max_drift * test_period +
37 max_bound = (test_period + period_max_drift * test_period +
95 test_period = int(config['TIMER_TEST_PERIOD'])
97 seconds = (test_period * test_samples) / 1_000_000
/Zephyr-Core-3.7.0/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c313 double test_period = (double)CONFIG_TIMER_TEST_PERIOD; in do_test_using() local
316 double min_us_bound = test_period - period_max_drift_percentage * test_period in do_test_using()
318 double max_us_bound = test_period + period_max_drift_percentage * test_period in do_test_using()
/Zephyr-Core-3.7.0/tests/bsim/bluetooth/mesh/src/
Dtest_access.c62 } test_period[] = { variable
696 for (size_t i = 0; i < ARRAY_SIZE(test_period); i++) { in tx_period()
697 pub_param_set(test_period[i].period, 0); in tx_period()
699 model->pub->fast_period = test_period[i].div > 0; in tx_period()
700 model->pub->period_div = test_period[i].div; in tx_period()
702 LOG_INF("Publication period: %d", test_period[i].period_ms); in tx_period()
708 pub_delayable_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in tx_period()
710 pub_jitter_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in tx_period()
735 for (size_t i = 0; i < ARRAY_SIZE(test_period); i++) { in rx_period()
737 recv_delayable_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in rx_period()
[all …]