Broker_AddonMonitor

Broker_AddonMonitor

812 Downloads

I wrote this LibDataBroker plugin because I wanted something that'd track both memory and cpu usage, allow sorting, look visually pleasing, and group my addons into logical units that made sense to me (addons like Altoholic, AtlasLoot, BigWigs, Stuf, TidyPlates, and WeakAuras, which spread out across multiple addon folders, are represented as a single addon in the list under the parent addon's name).

As something written for me it's not completely user-friendly but is hopefully intuitive enough for other developers.

The monitor works by polling for each addon's total memory and cpu usage every couple seconds and noting how much each has changed. Negative numbers are green to indicate memory usage has gone down (cpu usage never goes down). Positive numbers are red to indicate that memory or cpu usage has gone up.

Please note: cpu profiling must be enabled in order for the wow api to provide values for addon cpu usage. Ctrl+clicking the monitor's stat block will toggle cpu profiling and reload the ui so that the setting may take effect.

Columns: - Name of each addon - Total memory used by this addon - Amount the addon's memory usage has changed since the last update - Total cpu used by this addon - Amount the addon's cpu usage has changed since the last update

Clicking the monitor's stat block will cycle through sorting each column and show that column's total as the stat block text.