MCPcopy Create free account
hub / github.com/defold/defold / timeout_markstart

Function timeout_markstart

engine/script/src/luasocket/timeout.c:114–117  ·  view source on GitHub ↗

-------------------------------------------------------------------------*\ * Marks the operation start time in structure * Input * tm: timeout control structure \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

112* tm: timeout control structure
113\*-------------------------------------------------------------------------*/
114p_timeout timeout_markstart(p_timeout tm) {
115 tm->start = timeout_gettime();
116 return tm;
117}
118
119/*-------------------------------------------------------------------------*\
120* Gets time in s, relative to January 1, 1970 (UTC)

Callers 13

global_selectFunction · 0.85
buffer_meth_sendFunction · 0.85
buffer_meth_receiveFunction · 0.85
meth_acceptFunction · 0.85
meth_connectFunction · 0.85
tryconnect6Function · 0.85
meth_acceptFunction · 0.85
unix_tryconnectFunction · 0.85
inet_tryconnectFunction · 0.85
meth_sendFunction · 0.85
meth_sendtoFunction · 0.85
meth_receiveFunction · 0.85

Calls 1

timeout_gettimeFunction · 0.85

Tested by

no test coverage detected