How can I read from which file file there is a large load
1 replies, posted
I want to implement a server load calculation system, but I don’t know how to calculate the load from each file on the server
debug.sethook - Lua hooks
debug.getinfo
Hook onto "call" and "return" events, register at what time it called and returned via SysTime, grab where the function originated from via debug.getinfo and print it out.
Sorry, you need to Log In to post a reply to this thread.