Searched refs:elapsed_time (Results 1 – 7 of 7) sorted by relevance
/Zephyr-latest/subsys/bluetooth/mesh/ |
D | pb_gatt_srv.c | 290 int64_t elapsed_time = k_uptime_delta(×tamp); in bt_mesh_pb_gatt_srv_adv_start() local 294 if (elapsed_time > FAST_ADV_TIME) { in bt_mesh_pb_gatt_srv_adv_start() 305 LOG_DBG("remaining fast adv time (%lld ms)", (FAST_ADV_TIME - elapsed_time)); in bt_mesh_pb_gatt_srv_adv_start() 307 return bt_mesh_adv_gatt_start(&fast_adv_param, (FAST_ADV_TIME - elapsed_time), in bt_mesh_pb_gatt_srv_adv_start()
|
/Zephyr-latest/samples/net/sockets/coap_download/src/ |
D | main.c | 40 int64_t elapsed_time = k_uptime_delta(&start_time); in on_coap_response() local 44 elapsed_time); in on_coap_response()
|
/Zephyr-latest/lib/posix/options/ |
D | rwlock.c | 366 int64_t elapsed_time, st_time = k_uptime_get(); in write_lock_acquire() local 375 elapsed_time = k_uptime_get() - st_time; in write_lock_acquire() 376 timeout = timeout <= elapsed_time ? 0 : in write_lock_acquire() 377 timeout - elapsed_time; in write_lock_acquire()
|
/Zephyr-latest/subsys/net/lib/mqtt/ |
D | mqtt.c | 597 uint32_t elapsed_time; in mqtt_live() local 604 elapsed_time = mqtt_elapsed_time_in_ms_get( in mqtt_live() 607 (elapsed_time >= (client->keepalive * 1000))) { in mqtt_live() 623 uint32_t elapsed_time = mqtt_elapsed_time_in_ms_get( in mqtt_keepalive_time_left() local 632 if (keepalive_ms <= elapsed_time) { in mqtt_keepalive_time_left() 636 return keepalive_ms - elapsed_time; in mqtt_keepalive_time_left()
|
/Zephyr-latest/scripts/tests/twister_blackbox/ |
D | test_runner.py | 530 elapsed_time = end_time - start_time 531 if elapsed_time < int(interval): 560 elapsed_time = float(re.search(r'Timeout \(qemu (\d+\.\d+)s\)', err).group(1)) 563 elapsed_time - float(timeout) * 10) <= tolerance, f"Time is different from expected"
|
/Zephyr-latest/subsys/net/lib/dhcpv6/ |
D | dhcpv6.c | 32 bool elapsed_time : 1; member 445 if (options->elapsed_time) { in dhcpv6_calculate_message_size() 508 if (options->elapsed_time) { in dhcpv6_add_options() 625 .elapsed_time = true, in dhcpv6_send_solicit() 651 .elapsed_time = true, in dhcpv6_send_request() 677 .elapsed_time = true, in dhcpv6_send_renew() 704 .elapsed_time = true, in dhcpv6_send_rebind() 731 .elapsed_time = true, in dhcpv6_send_confirm()
|
/Zephyr-latest/tests/net/dhcpv6/src/ |
D | main.c | 312 uint16_t elapsed_time; in verify_dhcpv6_elapsed_time() local 322 ret = net_pkt_read_be16(pkt, &elapsed_time); in verify_dhcpv6_elapsed_time() 324 zassert_between_inclusive(elapsed_time, min_accepted, max_accepted, in verify_dhcpv6_elapsed_time()
|