MCPcopy Create free account
hub / github.com/OpenXRay/xray-16 / OnLuaHookCall

Method OnLuaHookCall

src/xrScriptEngine/script_profiler.cpp:560–623  ·  view source on GitHub ↗

* Callback to handle lua profiling hook. * Receiving lua events and collecting data in profiler instance to do further performance measurements and assumptions. * * @param L - lua VM context of calls * @param dbg - lua debug context of hook call (only event data is valid) */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

lua_hook_callMethod · 0.80

Calls 7

xr_strcmpFunction · 0.85
xr_sprintfFunction · 0.50
findMethod · 0.45
endMethod · 0.45
startMethod · 0.45
emplaceMethod · 0.45
stopMethod · 0.45

Tested by

no test coverage detected