MCPcopy Create free account
hub / github.com/apache/trafficserver / ts_lua_get_now_time

Function ts_lua_get_now_time

plugins/lua/ts_lua_misc.cc:165–174  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163}
164
165static int
166ts_lua_get_now_time(lua_State *L)
167{
168 lua_Number now;
169
170 // Return fractional seconds.
171 now = ((lua_Number)TShrtime()) / 1000000000.0;
172 lua_pushnumber(L, now);
173 return 1;
174}
175
176static int
177ts_lua_debug(lua_State *L)

Callers

nothing calls this directly

Calls 1

TShrtimeFunction · 0.85

Tested by

no test coverage detected