Single-file DBugR Support plugin, which wraps every cached plugin hook in a DBugR profiler when the DBugR addon is installed.
Its ClockworkLoaded hook detours the hooks in plugin.GetCache() once and reports the run time of each to DBugR
as <plugin name>:<hook name>.
Summary
Hooks
ClockworkLoaded()shared
Called when Catwork has loaded; wraps every cached plugin hook in a DBugR profiler.
Hooks
Implements hook ClockworkLoaded
Called when Catwork has loaded; wraps every cached plugin hook in a DBugR profiler.
Each hook's run time is reported to DBugR as <plugin name>:<hook name>. Only defined when DBugR is
installed, and only detours the hooks once.