Home
last modified time | relevance | path

Searched refs:lws_usec_t (Results 1 – 25 of 33) sorted by relevance

12

/external/libwebsockets/include/libwebsockets/
Dlws-timeout-timer.h114 lws_set_timeout_us(struct lws *wsi, enum pending_timeout reason, lws_usec_t us);
116 #define LWS_SET_TIMER_USEC_CANCEL ((lws_usec_t)-1ll)
117 #define LWS_USEC_PER_SEC ((lws_usec_t)1000000)
147 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs);
195 lws_usec_t us);
204 lws_usec_t us;
230 lws_sorted_usec_list_t *sul, sul_cb_t cb, lws_usec_t us);
261 lws_usec_t us);
263 LWS_VISIBLE LWS_EXTERN lws_usec_t
264 __lws_sul_service_ripe(lws_dll2_owner_t *own, lws_usec_t usnow);
Dlws-detailed-latency.h58 lws_usec_t earliest_write_req;
59 lws_usec_t earliest_write_req_pre_write;
Dlws-sequencer.h191 lws_seq_timeout_us(struct lws_sequencer *seq, lws_usec_t us);
218 LWS_VISIBLE LWS_EXTERN lws_usec_t
Dlws-misc.h339 LWS_VISIBLE LWS_EXTERN lws_usec_t
726 typedef void (*lsp_cb_t)(void *opaque, lws_usec_t *accounting, siginfo_t *si,
764 lws_usec_t timeout_us;
Dlws-system.h123 int (*set_clock)(lws_usec_t us);
/external/libwebsockets/lib/core-net/
Dsorted-usec-list.c30 lws_usec_t a = ((lws_sorted_usec_list_t *)d)->us; in sul_compare()
31 lws_usec_t b = ((lws_sorted_usec_list_t *)i)->us; in sul_compare()
48 lws_usec_t us) in __lws_sul_insert()
50 lws_usec_t now = lws_now_usecs(); in __lws_sul_insert()
72 lws_usec_t worst = 0; in __lws_sul_insert()
98 lws_sorted_usec_list_t *sul, sul_cb_t cb, lws_usec_t us) in lws_sul_schedule()
107 lws_usec_t
108 __lws_sul_service_ripe(lws_dll2_owner_t *own, lws_usec_t usnow) in __lws_sul_service_ripe()
Dwsi-timeout.c59 __lws_set_timer_usecs(struct lws *wsi, lws_usec_t us) in __lws_set_timer_usecs()
68 lws_set_timer_usecs(struct lws *wsi, lws_usec_t usecs) in lws_set_timer_usecs()
130 ((lws_usec_t)secs) * LWS_US_PER_SEC); in __lws_set_timeout()
169 lws_set_timeout_us(struct lws *wsi, enum pending_timeout reason, lws_usec_t us) in lws_set_timeout_us()
233 lws_usec_t us) in lws_timed_callback_vh_protocol_us()
276 ((lws_usec_t)secs) * LWS_US_PER_SEC); in lws_timed_callback_vh_protocol()
Dsequencer.c53 lws_usec_t time_created;
54 lws_usec_t timeout; /* 0 or time we timeout */
299 lws_seq_timeout_us(lws_seq_t *seq, lws_usec_t us) in lws_seq_timeout_us()
319 lws_usec_t
Dprivate-lib-core-net.h273 lws_usec_t us);
275 lws_usec_t
276 __lws_sul_service_ripe(lws_dll2_owner_t *own, lws_usec_t usnow);
452 lws_usec_t ust_left_poll;
890 lws_usec_t created; /* set by lws_spawn_piped() */
891 lws_usec_t reaped;
893 lws_usec_t accounting[4];
1161 lws_usec_t
1162 __lws_seq_timeout_check(struct lws_context_per_thread *pt, lws_usec_t usnow);
1164 lws_usec_t
[all …]
Doutput.c233 lws_usec_t us; in lws_write()
/external/libwebsockets/lib/plat/unix/
Dunix-misc.c30 lws_usec_t
39 return (((lws_usec_t)ts.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
40 ((lws_usec_t)ts.tv_nsec / LWS_NS_PER_US); in lws_now_usecs()
45 return (((lws_usec_t)now.tv_sec) * LWS_US_PER_SEC) + in lws_now_usecs()
46 (lws_usec_t)now.tv_usec; in lws_now_usecs()
Dunix-service.c73 lws_usec_t timeout_us, us; in _lws_plat_service_tsi()
94 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi()
/external/libwebsockets/lib/misc/threadpool/
Dthreadpool.c45 lws_usec_t created;
46 lws_usec_t acquired;
47 lws_usec_t done;
48 lws_usec_t entered_state;
50 lws_usec_t acc_running;
51 lws_usec_t acc_syncing;
68 lws_usec_t acquired;
95 ms_delta(lws_usec_t now, lws_usec_t then) in ms_delta()
101 us_accrue(lws_usec_t *acc, lws_usec_t then) in us_accrue()
103 lws_usec_t now = lws_now_usecs(); in us_accrue()
[all …]
/external/libwebsockets/include/
Dlibwebsockets.h53 #define LWS_US_PER_SEC ((lws_usec_t)1000000)
54 #define LWS_MS_PER_SEC ((lws_usec_t)1000)
55 #define LWS_US_PER_MS ((lws_usec_t)1000)
56 #define LWS_NS_PER_US ((lws_usec_t)1000)
512 typedef int64_t lws_usec_t; typedef
/external/libwebsockets/lib/plat/freertos/
Dfreertos-service.c44 lws_usec_t timeout_us; in _lws_plat_service_tsi()
87 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi()
109 lws_usec_t us; in _lws_plat_service_tsi()
Dfreertos-misc.c27 lws_usec_t
/external/libwebsockets/lib/plat/windows/
Dwindows-service.c64 lws_usec_t timeout_us; in _lws_plat_service_tsi()
95 timeout_us = ((lws_usec_t)timeout_ms) * LWS_US_PER_MS; in _lws_plat_service_tsi()
137 lws_usec_t us; in _lws_plat_service_tsi()
Dwindows-misc.c31 lws_usec_t
/external/libwebsockets/lib/plat/optee/
Dnetwork.c85 lws_usec_t timeout_us = timeout_ms * LWS_US_PER_MS; in _lws_plat_service_tsi()
120 lws_usec_t us; in _lws_plat_service_tsi()
/external/libwebsockets/lib/secure-streams/
Dprivate-lib-secure-streams.h230 lws_usec_t us_earliest_write_req;
298 lws_ss_set_timeout_us(lws_ss_handle_t *h, lws_usec_t us);
Dsecure-streams-serialize.c120 lws_usec_t us = lws_now_usecs(); in lws_ss_serialize_rx_payload()
216 lws_usec_t us = lws_now_usecs(); in lws_ss_deserialize_tx_payload()
309 lws_usec_t us; in lws_ss_deserialize_parse()
/external/libwebsockets/lib/tls/
Dtls-server.c38 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_sul_tls_cb()
119 (lws_usec_t)24 * 3600 * LWS_US_PER_SEC); in lws_context_init_server_ssl()
/external/libwebsockets/lib/event-libs/libev/
Dlibev.c32 lws_usec_t us; in lws_ev_hrtimer_cb()
48 lws_usec_t us; in lws_ev_idle_cb()
/external/libwebsockets/lib/event-libs/libevent/
Dlibevent.c32 lws_usec_t us; in lws_event_hrtimer_cb()
49 lws_usec_t us; in lws_event_idle_timer_cb()
/external/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c298 lws_usec_t next; in stagger_cb()

12