mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-10 20:07:37 +00:00
Backport UpdateAddOnMemoryUsage / GetAddOnMemoryUsage and the script profiling family (scriptProfile, GetFunctionCPUUsage, UpdateAddOnCPUUsage, GetAddOnCPUUsage, GetFrameCPUUsage, GetEventCPUUsage, GetScriptCPUUsage, ResetCPUUsage), mirroring 3.3.5's engine mechanism. - Gc::Hooks owns the GC lifecycle hooks (luaC_link, newlstr, luaS_newudata, freeobj); Gc::Tag stamps each new object with the engine's context word (3.3.5's lua_tainted rule) and sums sizes with the engine's own free sizes. - lua_gctag pins: the addon load window (two call patches in FUN_ADDON_LOAD_ONE) and template application (engine single-name sites + Xml::Inherits lists). - Profile::Cpu keeps 3.3.5's per-closure Profile records through Lua's own call/return hook, installed only when scriptProfile is 1; tail calls, error unwinds and coroutines handled. - ScriptArgs observers time every handler run; signals counted at each dispatcher (call-site redirect inside FUN_FIRE_EVENT, not a MinHook). - Frame::ScriptSlots enumerates a frame's script slots without creating them, for GetFrameCPUUsage. - Add the unordered_dense submodule (v5.3.2); share ResolveRecord via addons/Registry; fix the AddOnEntry inline-name comments.
13 lines
440 B
Plaintext
13 lines
440 B
Plaintext
[submodule "external/minhook"]
|
|
path = external/minhook
|
|
url = https://github.com/TsudaKageyu/minhook.git
|
|
[submodule "external/picojson"]
|
|
path = external/picojson
|
|
url = https://github.com/kazuho/picojson.git
|
|
[submodule "external/tinycbor"]
|
|
path = external/tinycbor
|
|
url = https://github.com/intel/tinycbor.git
|
|
[submodule "external/unordered_dense"]
|
|
path = external/unordered_dense
|
|
url = https://github.com/martinus/unordered_dense.git
|