Improve Profiler API.
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