Quantcast

Improve Profiler API.

Author Johnny C. Lam <jlam88@gmail.com>
Author date 2014-06-04 20:23:33
Author local date 2014-06-04 20:23:33 +0000
Committer Johnny C. Lam <jlam88@gmail.com>
Committer date 2014-06-04 20:23:33
Committer local date 2014-06-04 20:23:33 +0000
Commit 49073d1f7b4d92d4bdb64c4a4d1f697c31831c8f
Tree 18e46c6f6fb82dcb48ff8745ce512f131564079d
Parent d004aa9b4f183ed79fc4463ff43ce7a3a34c0477
Improve Profiler API.

* Add method Profiler:Wrap() to wrap Blizzard API functions and use it in
  various modules to profile usage of the Blizzard functions.

- Add method Profiler:GetProfilingGroup() to get the methods collection
  associated with a particular profiling group.

- Extend Profiler:RegisterProfilingGroup() to take two callbacks for
  group-specific enabling and disabling of profiling.

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@1511 d5049fe3-3747-40f7-a4b5-f36d6801af5f