Mod profiling support
authorsapier <Sapier at GMX dot net>
Tue, 12 Aug 2014 21:07:27 +0000 (23:07 +0200)
committersapier <Sapier at GMX dot net>
Tue, 19 Aug 2014 20:22:57 +0000 (22:22 +0200)
commitc24e0753fc240636b2f9b1889554649e67c9046c
tree1de1583525dbce908a470941745e3a6b0c23b3c2
parent4caa00cc99af133e5724cd8ab04f5cb8db81a666
Mod profiling support

Config settings:
profiling = true/false (gather statistics)
detailed_profiling = true/false (break mod times to callbacks)

Chat commands:
save_mod_profile saves current statistics in debug.txt and shows on console (on default loglevel)
builtin/game/chatcommands.lua
builtin/game/init.lua
builtin/game/mod_profiling.lua [new file with mode: 0644]
doc/lua_api.txt
minetest.conf.example
src/script/lua_api/l_env.cpp
src/script/lua_api/l_env.h