valkey/deps/lua/src
debing.sun 4a265554ae
Expose lua os.clock() api (#12971)
Implement #12699

This PR exposing Lua os.clock() api for getting the elapsed time of Lua
code execution.

Using:
```lua
local start = os.clock()
...
do something
...
local elpased = os.clock() - start
```

---------

Co-authored-by: Meir Shpilraien (Spielrein) <meir@redis.com>
Co-authored-by: Madelyn Olson <34459052+madolson@users.noreply.github.com>
2024-02-22 11:29:52 +02:00
..
fpconv.c
fpconv.h
lapi.c Protect any table which is reachable from globals and added globals white list. 2022-04-27 00:37:40 +03:00
lapi.h
lauxlib.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
lauxlib.h
lbaselib.c
lcode.c
lcode.h
ldblib.c
ldebug.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
ldebug.h
ldo.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
ldo.h
ldump.c Fix Lua compile warning on GCC 12.1 (#11115) 2022-08-14 14:29:05 +03:00
lfunc.c
lfunc.h
lgc.c
lgc.h
linit.c
liolib.c
llex.c
llex.h
llimits.h
lmathlib.c
lmem.c
lmem.h
loadlib.c
lobject.c
lobject.h Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
lopcodes.c
lopcodes.h
loslib.c Expose lua os.clock() api (#12971) 2024-02-22 11:29:52 +02:00
lparser.c
lparser.h
lstate.c
lstate.h
lstring.c Lua: Use all characters to calculate string hash (#9449) 2021-09-09 12:47:26 +03:00
lstring.h
lstrlib.c
ltable.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
ltable.h
ltablib.c Fix compilation warnings in Lua and jemalloc dependencies (#7785) 2020-09-29 17:10:54 +03:00
ltm.c
ltm.h
lua_bit.c Fix Lua compile warning (#10805) 2022-06-01 16:21:45 +03:00
lua_cjson.c Avoid mostly harmless integer overflow in cjson (#12456) 2023-08-05 07:57:06 +03:00
lua_cmsgpack.c Lua cjson and cmsgpack integer overflow issues (CVE-2022-24834) (#12398) 2023-07-10 10:26:09 +03:00
lua_struct.c
lua.c
lua.h Protect any table which is reachable from globals and added globals white list. 2022-04-27 00:37:40 +03:00
luac.c
luaconf.h
lualib.h
lundump.c
lundump.h
lvm.c Added support for Lua readonly tables. 2022-04-27 00:20:54 +03:00
lvm.h
lzio.c
lzio.h
Makefile
print.c
strbuf.c Avoid mostly harmless integer overflow in cjson (#12456) 2023-08-05 07:57:06 +03:00
strbuf.h Lua cjson and cmsgpack integer overflow issues (CVE-2022-24834) (#12398) 2023-07-10 10:26:09 +03:00