Home
last modified time | relevance | path

Searched refs:lws_now_usecs (Results 1 – 25 of 51) sorted by relevance

123

/third_party/libwebsockets/minimal-examples/api-tests/api-test-lws_cache/
Dmain.c42 lws_now_usecs() + LWS_US_PER_SEC, NULL)) in test_just_l1()
46 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) in test_just_l1()
127 lws_now_usecs() + LWS_US_PER_SEC, NULL)) in test_just_l1_limits()
131 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) in test_just_l1_limits()
213 lws_now_usecs() + LWS_US_PER_SEC, NULL)) { in test_nsc1()
223 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
233 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
414 lws_now_usecs() + LWS_US_PER_SEC * 2, NULL)) { in test_nsc1()
/third_party/libwebsockets/lib/plat/unix/
Dunix-service.c94 us = lws_now_usecs(); in _lws_plat_service_tsi()
148 a = lws_now_usecs() - b; in _lws_plat_service_tsi()
157 b = lws_now_usecs(); in _lws_plat_service_tsi()
221 (u_mt_t) (a + (lws_now_usecs() - b))); in _lws_plat_service_tsi()
Dunix-misc.c43 lws_now_usecs(void) in lws_now_usecs() function
/third_party/libwebsockets/lib/plat/windows/
Dwindows-misc.c43 lws_now_usecs(void) in lws_now_usecs() function
73 time_t ret = lws_now_usecs() / 1000000; in time()
Dwindows-service.c134 lws_now_usecs()); in _lws_plat_service_tsi()
/third_party/libwebsockets/include/libwebsockets/
Dlws-metrics.h232 _name.mt = _mt; _name.us_start = lws_now_usecs(); }
234 lws_metric_caliper_t _name = { .mt = _mt, .us_start = lws_now_usecs() }
237 (u_mt_t)(lws_now_usecs() - \
Dlws-timeout-timer.h75 #define lws_time_in_microseconds lws_now_usecs
/third_party/libwebsockets/lib/tls/
Dtls-client.c42 (lws_now_usecs() - wsi->conmon_datum); in lws_ssl_client_connect1()
94 (lws_now_usecs() - wsi->conmon_datum); in lws_ssl_client_connect2()
210 wsi->conmon_datum = lws_now_usecs(); in lws_client_create_tls()
/third_party/libwebsockets/lib/misc/threadpool/
Dthreadpool.c111 lws_usec_t now = lws_now_usecs(); in us_accrue()
127 lws_usec_t now = lws_now_usecs(); in __lws_threadpool_task_dump()
240 task->entered_state = lws_now_usecs(); in state_transition()
530 task->acquired = pool->acquired = lws_now_usecs(); in lws_threadpool_worker()
589 then = lws_now_usecs(); in lws_threadpool_worker()
608 then = lws_now_usecs(); in lws_threadpool_worker()
636 pool->task->done = lws_now_usecs(); in lws_threadpool_worker()
763 task->done = lws_now_usecs(); in lws_threadpool_finish()
877 task->done = lws_now_usecs(); in lws_threadpool_dequeue_task()
1010 task->created = lws_now_usecs(); in lws_threadpool_enqueue()
/third_party/libwebsockets/lib/core-net/
Dsorted-usec-list.c285 sul->us = lws_now_usecs() + _us; in lws_sul_schedule()
307 sul->us = lws_now_usecs() + _us; in lws_sul_schedule_wakesuspend()
Dsequencer.c122 seq->time_created = lws_now_usecs(); in lws_seq_create()
327 return lws_now_usecs() - seq->time_created; in lws_seq_us_since_creation()
/third_party/libwebsockets/lib/plat/freertos/
Dfreertos-misc.c40 lws_now_usecs(void) in lws_now_usecs() function
/third_party/libwebsockets/lib/system/metrics/
Dmetrics.c350 pub->us_first = lws_now_usecs(); in lws_metric_create()
562 pub->us_last = lws_now_usecs(); in lws_metrics_hist_bump_()
697 pub->us_first = pub->us_dumped = lws_now_usecs(); in lws_metrics_dump_cb()
783 lws_usec_t t = lws_now_usecs(); in lws_metrics_format()
864 pub->us_last = lws_now_usecs(); in lws_metric_event()
/third_party/libwebsockets/lib/secure-streams/
Dsecure-streams-client.c237 interval = (uint64_t)(lws_now_usecs() - h->us_start_upstream) / in callback_sspc_client()
549 us = lws_now_usecs(); in callback_sspc_client()
670 h->us_start_upstream = lws_now_usecs(); in lws_sspc_create()
811 h->us_earliest_write_req = lws_now_usecs(); in lws_sspc_request_tx()
858 h->us_earliest_write_req = lws_now_usecs(); in lws_sspc_request_tx_len()
/third_party/libwebsockets/lib/event-libs/uloop/
Duloop.c41 lws_now_usecs()); in lws_uloop_hrtimer_cb()
82 lws_now_usecs()); in lws_uloop_idle_timer_cb()
/third_party/libwebsockets/lib/core-net/client/
Dconnect2.c63 wsi->conmon_datum = lws_now_usecs(); in lws_getaddrinfo46()
74 (lws_now_usecs() - wsi->conmon_datum); in lws_getaddrinfo46()
Dconnect3.c497 wsi->conmon_datum = lws_now_usecs();
535 (lws_now_usecs() - wsi->conmon_datum);
607 (lws_now_usecs() - wsi->conmon_datum);
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-cpp/
Dmain.cxx27 (int)((lws_now_usecs() - lf->us_start) / 1000)); in lss_completion()
/third_party/libwebsockets/lib/secure-streams/cpp/
Dlss.cxx120 us_start = lws_now_usecs(); in lss()
/third_party/libwebsockets/lib/event-libs/sdevent/
Dsdevent.c32 lws_now_usecs()); in sultimer_handler()
71 lws_now_usecs()); in idle_handler()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c89 (unsigned long long)lws_now_usecs()); in callback_http()
/third_party/libwebsockets/lib/system/smd/
Dsmd.c64 msg->timestamp = lws_now_usecs(); in lws_smd_msg_alloc()
94 (unsigned int)((lws_now_usecs() - msg->timestamp) / 1000), in lws_smd_dump()
710 if ((lws_now_usecs() - msg->timestamp) > ctx->smd_ttl_us) { in lws_smd_message_pending()
/third_party/libwebsockets/lib/plat/optee/
Dlws-plat-optee.c70 lws_now_usecs(void) in lws_now_usecs() function
/third_party/libwebsockets/lib/misc/fts/
Dtrie.c546 unsigned long long tf = (unsigned long long)lws_now_usecs(); in lws_fts_fill()
1089 t->agg_trie_creation_us += (uint64_t)((uint64_t)lws_now_usecs() - tf); in lws_fts_fill()
1100 unsigned long long tf = (unsigned long long)lws_now_usecs(); in lws_fts_serialize()
1360 (int)(((uint64_t)lws_now_usecs() - tf) / 1000), in lws_fts_serialize()
/third_party/libwebsockets/lib/core/
Dlogs.c121 lc->us_creation = (uint64_t)lws_now_usecs(); in __lws_lc_tag()
183 (uint64_t)lws_now_usecs() - lc->us_creation, in __lws_lc_untag()

123