ZeroK-RTS/Zero-K — pull request #42 by xponen (2014-07-02 19:26:53+00:00)
Title: dbg_profiler.lua: re-added some profiler command that was reverted due to bug (fixed)

(was reverted on https://github.com/xponen/Zero-K/commit/f01874be22085673d499e7e623d30da51c9cfe2a )

since gadget ChatAction no longer called twice ( http://springrts.com/mantis/view.php?id=4404 ), re-added the following:

* "/luarules profile" toggle SYNCED (can show/hide)
* "/luarules uprofile" toggle UNSYNCED
* "/luarules fprofile" toggle <5% filter
* "/luarules profilegadget " sum SYNCED usage for a gadget for set second (also a toggle)

This is for profiling gadget's cost.