blob: d0e788ceb0ea1eac1051fa6a6d2aaace073781d8 (
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
|