Currently, my gamemode is having some issues with CPU usage after running for 2+ hours, which cause the server to freeze (CPU% = 100%) and the only way to stop it is to force kill its process, which also causes Profiler plugin to write nothing to the profiler file.
The only way I found to properly track down gamemode profiler is setting a Timer which calls Profiler_Dump() every X seconds, the problem is that since this function writes some lines in to the server log and I have to run the gamemode for some hours to get to the freezing point, the log is 90% filled with profiler writing info and hard to read. My request is to create an argument to Profiler_Dump() function to prevent it from writing anything to the log, like Profiler_Dump(bool: verbose = true).
Currently, my gamemode is having some issues with CPU usage after running for 2+ hours, which cause the server to freeze (CPU% = 100%) and the only way to stop it is to force kill its process, which also causes Profiler plugin to write nothing to the profiler file.
The only way I found to properly track down gamemode profiler is setting a Timer which calls Profiler_Dump() every X seconds, the problem is that since this function writes some lines in to the server log and I have to run the gamemode for some hours to get to the freezing point, the log is 90% filled with profiler writing info and hard to read. My request is to create an argument to Profiler_Dump() function to prevent it from writing anything to the log, like Profiler_Dump(bool: verbose = true).