blob: a7db77bf0b27699926306534083901ddd34344c9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---#if not JIT then DISABLE() end
---@meta jit.profile
local profile = {}
---@param mode string
---@param func fun(L: thread, samples: integer, vmst: string)
function profile.start(mode, func)
end
function profile.stop()
end
---@overload fun(th: thread, fmt: string, depth: integer)
---@param fmt string
---@param depth integer
function profile.dumpstack(fmt, depth)
end
return profile
|