From c24e0753fc240636b2f9b1889554649e67c9046c Mon Sep 17 00:00:00 2001 From: sapier Date: Tue, 12 Aug 2014 23:07:27 +0200 Subject: 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) --- doc/lua_api.txt | 2 ++ 1 file changed, 2 insertions(+) (limited to 'doc') diff --git a/doc/lua_api.txt b/doc/lua_api.txt index 3d8038f87..e027fe11d 100644 --- a/doc/lua_api.txt +++ b/doc/lua_api.txt @@ -1535,6 +1535,8 @@ minetest.set_node_level(pos, level) ^ set level of leveled node, default level = 1, if totallevel > maxlevel returns rest (total-max). minetest.add_node_level(pos, level) ^ increase level of leveled node by level, default level = 1, if totallevel > maxlevel returns rest (total-max). can be negative for decreasing +minetest.get_time_us() +^ get time in microseconds Inventory: minetest.get_inventory(location) -> InvRef -- cgit v1.2.3