MCPcopy Create free account
hub / github.com/Tencent/UnLua / timeout_getstart

Function timeout_getstart

Plugins/UnLuaExtensions/LuaSocket/Source/src/timeout.cpp:81–83  ·  view source on GitHub ↗

-------------------------------------------------------------------------*\ * Returns time since start of operation * Input * tm: timeout control structure * Returns * start field of structure \*-------------------------------------------------------------------------*/

Source from the content-addressed store, hash-verified

79* start field of structure
80\*-------------------------------------------------------------------------*/
81double timeout_getstart(p_timeout tm) {
82 return tm->start;
83}
84
85/*-------------------------------------------------------------------------*\
86* Determines how much time we have left for the next system call,

Callers 2

buffer_meth_sendFunction · 0.85
buffer_meth_receiveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected