Home
last modified time | relevance | path

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

/Zephyr-Core-3.5.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 +
69 test_period = int(config['TIMER_TEST_PERIOD'])
71 seconds = (test_period * test_samples) / 1_000_000
/Zephyr-Core-3.5.0/tests/kernel/timer/timer_behavior/src/
Djitter_drift.c266 double test_period = (double)CONFIG_TIMER_TEST_PERIOD; in do_test_using() local
269 double min_us_bound = test_period - period_max_drift_percentage * test_period in do_test_using()
271 double max_us_bound = test_period + period_max_drift_percentage * test_period in do_test_using()
/Zephyr-Core-3.5.0/tests/bsim/bluetooth/mesh/src/
Dtest_access.c62 } test_period[] = { variable
603 for (size_t i = 0; i < ARRAY_SIZE(test_period); i++) { in test_tx_period()
604 pub_param_set(test_period[i].period, 0); in test_tx_period()
606 model->pub->fast_period = test_period[i].div > 0; in test_tx_period()
607 model->pub->period_div = test_period[i].div; in test_tx_period()
609 LOG_INF("Publication period: %d", test_period[i].period_ms); in test_tx_period()
614 pub_jitter_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in test_tx_period()
638 for (size_t i = 0; i < ARRAY_SIZE(test_period); i++) { in test_rx_period()
639 recv_jitter_check(test_period[i].period_ms, PUB_PERIOD_COUNT); in test_rx_period()