Category: Data Broker
Addon Information
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Mera's Portal Bug Reports Feature Requests
Author:
Version:
30100.16
Date:
04-27-2009 08:21 AM
Size:
18.30 Kb
Downloads:
11,967
Favorites:
352
MD5:
Pictures
Click to enlarge
BrokerCPU w/ LibQTip + Merah w/ her baby Loque'nahak ;D
Click to enlarge
BrokerCPU w/ LibQTip + Merah w/ Blizzard Bear Mount w/ Toundra travel mammoth All in one Lmao ;D
Broker CPU / Memory / Performance   Popular! (More than 5000 hits)
French support: Pour des questions/commentaires en Français vous pouvez utiliser JeuxOnline ou JudgeHype


A lightweight Data Broker plugin to visualize AddOn CPU/Memory usage, Framerate and Latency.
  • Automatic tooltip actualisation w/ configurable thresholds
  • Can use a simple GameTooltip or advanced LibQTip
  • No required librairies, they are just enhancements
  • Can force to not use a library if it's detected but not needed
  • Designed to be the most performance friendly it can
  • Less resources usage and better readability than PerformanceFu w/ Tablet
  • TekkubcolorGradients, Garbage collect, Detachable tooltip and more...
  • /cpu, /brokercpu or /broker_cpu to show usage

Reminder for beginners with LDB plugins:
Any LDB plugin from this site section doesn't work in standalone, for a minimal use you need at least LibDBIcon OR for an optimal use choose a LDB display plugin, but in the case of BrokerCPU it's recommanded to use a LDB display rather than LibDBIcon if do you want to see short resources usages infos displayed on the screen.

To get optional features you can (none mandatory)
  • Install LibQTip for cpudiff, memorydiff, icons columns & a cleaner tooltip
  • Install LibDBIcon for a minimap icon
  • Install DewdropLib for a quick menu to set options without using command lines
  • The mod also supports AddonLoader

Known LDB displays: (none mandatory if you are using LibDBIcon)
Click here for an updated list

LDB (LibDataBroker) is a neat & lightweight library developed by Tekkub™ allowing developers to build very short or strong codes compatible with all "FuBar" like mods, more infos here.

Note: CPU profiling which is by default to OFF in the Blizzard client should remain OFF when you don't need it, this is much a debugging option rather than a permanent performance meter, enabling CPU profiling could affects gaming performance, but helps a lot benchmarking addons, finding bugs, etc...



















Note that when you run with libraries embedded in your addons, their CPU and memory usage will be reported as belonging to that addon, which is not entirely true if you use other addons that make use of the same libraries. It is preferred to run only standalone libraries (one copy installed like a standard AddOn with the .toc file) so you can show resources used per AddOns and libraries separately.

Some hints to install a standalone library correctly:
  • You just install a standalone library like any other addon in the same Interface\AddOns\ folder
  • The library must have a .toc file and the library folder must have the same name than the .toc file, example with DewdropLib the path should looks like Interface\AddOns\DewdropLib\DewdropLib.toc
  • Then the longuest part is to remove the library you just installed in standalone from every addon you use that could embed it, then you are sure that only the standalone library is called and the consumed resources are correctly belonging to it.
  • Some libraries are NOT to dis-embed, so if do you see the most popular embeds LibDataBroker, AceLibrary, LibStub, CallBackHandler, just leave them embedded, they are not designed to be standalone (If a library does not provide a .toc file it's not designed to be standalone)
  Change Log - Broker CPU / Memory / Performance
Revision: 16
Author: Mera-92869
Date: 14:18:56, lundi 27 avril 2009
Message:
Broker_CPU:
-toc update
-some code cleanup
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 15
Author: Mera-92869
Date: 9:32:26 PM, Wednesday, March 11, 2009
Message:
Broker_CPU:
-fix: db not properly saved when no savedvariables
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 14
Author: Mera-92869
Date: 9:34:16 PM, Tuesday, March 10, 2009
Message:
Broker_CPU:
-perf: kill again abnormal memory uses, small gain
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 13
Author: Mera-92869
Date: 9:04:34 PM, Monday, March 09, 2009
Message:
Broker_CPU:
-fix: db nil error
-workaround: to new caveat added in LibDBIcon revision 7
-desc: no need to be that nice with them
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 12
Author: Mera-92869
Date: 10:55:18 PM, Sunday, March 08, 2009
Message:
Broker_CPU:
-add: simplified localization system
-add: more options to simplify what is shown in tooltips and ldb texts
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 11
Author: Mera-92869
Date: 9:18:35 PM, Thursday, March 05, 2009
Message:
Broker_CPU:
-add: colors (tekkubs colorgradient wowwiki.com/ColorGradient)
-fix: conflict on apis UpdateAddOn...Usages between tooltip & ldbtext
-perf: simpler check of cpu diff if tooltip threshold <= 2
-perf: significant lower of the memory usage, was creating too much tables and so on garbage
-add: autoresising if tooltips goes outside the screen (for n00bs like yess ;pp)
-fix: less chat flood with some dewdrop options
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 10
Author: Mera-92869
Date: 11:42:40 PM, Thursday, February 26, 2009
Message:
Broker_CPU:
-add: option to force lib detection
-fix: let ldb displays handling GameTooltip scales otherwise too conflicting, scale option now requires QTip
-perf: QTip icons are no more buttons and no more table stored, just SetBackdrop() is enough since cells are Frames & simple OnHide script to set back...
-perf: QTip does not more create more columns than required, so no more fantom cells taking extra cpu usage for nothing helpful.
-perf: QTip does no more recreate each lines to each loops, instead create them only once and just update the cells
-small code cleanups
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 9
Author: Mera-92869
Date: 1:09:27 AM, Monday, February 23, 2009
Message:
Broker_CPU:
-memory collection does no more require scriptProfiling
-better recycling of strings & tables
-can detach tooltip
-configurable throttle ldb &/or tooltip text
-configurable scale
-can toggle icons on/off
-can collect latency and framerate
-added AddonLoader support
-all globals are sent to locals for better peformances
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 8
Author: Mera-92869
Date: 11:35:16 AM, Friday, February 13, 2009
Message:
Broker_CPU:
-option for an easier cpu profiling toggling
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 7
Author: Mera-92869
Date: 1:53:55 AM, Friday, February 13, 2009
Message:
Broker_CPU:
-command lines
-optional DewdropLib support
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 6
Author: Mera-92869
Date: 3:27:52 PM, Wednesday, February 11, 2009
Message:
Broker_CPU:
-typo
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua

Revision: 5
Author: Mera-92869
Date: 3:20:07 PM, Wednesday, February 11, 2009
Message:
Broker_CPU:
-could now check memory (/script _G.BROKERCPUDB["memory"] = 0) to disable
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 4
Author: Mera-92869
Date: 8:14:40 PM, Tuesday, February 10, 2009
Message:
Broker_CPU:
-less QTip resizes
----
Modified : /trunk/Broker_CPU
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

Revision: 3
Author: Mera-92869
Date: 2:18:01 PM, Tuesday, February 10, 2009
Message:
-revert some debug test
----
Modified : /trunk/Broker_CPU/Broker_CPU.lua
Modified : /trunk/Broker_CPU/Broker_CPU.toc

r3
some icons

r2
-added ommitted gametooltip secure checks
-fixed nil bug
-removed AceTimer3
  Archived Versions - Broker CPU / Memory / Performance
File Name
Version
Size
Author
Date
30000.15
18kB
Mera
03-11-2009 04:35 PM
  Comments - Broker CPU / Memory / Performance
Post A Reply Comment Options
Old 10-18-2009, 02:12 PM  
xekon
A Kobold Labourer

Forum posts: 0
File comments: 2
Uploads: 0
I have a very small feature request I would like to make, would it be possible to add an option so that the fps can be formatted rounded to whole number or simply truncating the decimal... ide rather look at my fps on the bar as a single 2 or 3 digit number with out the decimal place.
xekon is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-28-2009, 04:16 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 482
Uploads: 1
Re: Re: Re: Re: Re: Re: IconR

Quote:
Originally posted by jbashara
Thanks so much.
No problem man. =D
__________________
There is absolutely no evidence to support the theory that life is serious.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 08-20-2009, 02:01 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
hello, Im at school yet no vacations ;( hope the mod is still ok for you guys and girls, yet not ready and tempted to go back nolifing on Wow
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-14-2009, 12:40 PM  
Skylinee
A Kobold Labourer

Forum posts: 0
File comments: 162
Uploads: 0
Could you make it so that left-clicking the LDB display forces a garbage collect, similar to other memory addons? Would be simpler than having to click, scroll and click. Thanks for your work.
Skylinee is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-03-2009, 12:29 AM  
jbashara
Zam editor
 
jbashara's Avatar

Forum posts: 10
File comments: 12
Uploads: 0
Re: Re: Re: Re: Re: IconR

Quote:
Originally posted by xtoq
I finally found it. However, I recommend you still follow my troubleshooting, as I'm sure the author would like to know about this weirdness.

Open Broker_CPU.lua in an editor like Notepad (make sure it is a plain text editor, not Word or Works). Delete line 1096 completely, leaving no blank line. The line reads:

icon = icon,

You're done.
Thanks so much.
jbashara is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-30-2009, 10:05 AM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 482
Uploads: 1
Re: Re: Re: Re: IconR

I finally found it. However, I recommend you still follow my troubleshooting, as I'm sure the author would like to know about this weirdness.

Open Broker_CPU.lua in an editor like Notepad (make sure it is a plain text editor, not Word or Works). Delete line 1096 completely, leaving no blank line. The line reads:

icon = icon,

You're done.

Last edited by xtoq : 05-30-2009 at 10:06 AM.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-29-2009, 06:29 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 482
Uploads: 1
Re: Re: Re: IconR

Quote:
Originally posted by jbashara
FuBar via Broker2FuBar. Although I think I remember testing it in ButtonBin, which I also use, with the same problem. I'll have to check.

The thing with Broker2FuBar is that it has an options menu that allows you to enable or disable broker icons and/or text. I don't have the problem with any other LDB addons. This is the only one that I can't permanently disable the icon for. The icon will stay hidden for the session, but on every client restart it's back up there.

Are there a couple lines of code in the .lua file that I can just delete to remove the icon? (Or break it, assuming it doesn't just show a blank placeholder like it does when I remove the icon graphic .tga from the folder?)
Hmmm, I don't know about that, I'm not really a programmer, more like a code hacker (in the hackney sense of the word). I'll poke around the lua, but sounds like you've done that already. I know that Broker2Fubar is the reason I finally quit the whole Fubar thing. So many addons were going to LDB and Broker2Fubar had so many issues, yet seemed like there wasn't much support going on for it and the issues that I kept having were mounting up, so I switched to full LDB.

To find out if its a problem with Broker CPU or Broker2Fubar, do this: download an LDB based display like Chocolate Bar or Docking Station, then make sure only that display addon and Broker CPU are the only addons running. If you can turn off the icon and it stays off even after a reload, then its a problem with Broker2Fubar and I'd drop a line to the Broker2Fubar guy.
Be sure to also use the "Report Bugs" button on the front page of this addon to report it as a bug. Be sure to tell the author that you use Broker2Fubar and whether or not your troubleshooting above worked.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-29-2009, 07:16 AM  
jbashara
Zam editor
 
jbashara's Avatar

Forum posts: 10
File comments: 12
Uploads: 0
Re: Re: IconR

Quote:
Originally posted by xtoq
That's more than likely a display issue with your LDB dispaly addon. Which one do you use?
FuBar via Broker2FuBar. Although I think I remember testing it in ButtonBin, which I also use, with the same problem. I'll have to check.

The thing with Broker2FuBar is that it has an options menu that allows you to enable or disable broker icons and/or text. I don't have the problem with any other LDB addons. This is the only one that I can't permanently disable the icon for. The icon will stay hidden for the session, but on every client restart it's back up there.

Are there a couple lines of code in the .lua file that I can just delete to remove the icon? (Or break it, assuming it doesn't just show a blank placeholder like it does when I remove the icon graphic .tga from the folder?)
jbashara is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 02:23 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 482
Uploads: 1
Re: IconR

Quote:
Originally posted by jbashara
Anyone have a problem where the LDB icon (the little computer icon) where it will keep re-appearing on every game restart, even if you've disabled it?

I try to optimize bar space, so I want the icon disabled. It will work initially--the icon will disappear like it should, and only show the text (FPS, Mem, Latency)...but every time I restart the game client, the icon is always back! Can't figure out why; this doesn't happen with any of my other LDB addons.

First I tried removing the actual .tga icon out of the addon directory, but that didn't work because there was still a black "placeholder" space where the icon would be, defeating the purpose of wanting a smaller view.

Then I tried looking in the .lua file to see if I could find a way to delete the code that refers to the icon, but I just couldn't find the right lines and kept messing it up, having to re-install it.

Any help?
That's more than likely a display issue with your LDB dispaly addon. Which one do you use?
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-28-2009, 02:23 PM  
xtoq
A Fallenroot Satyr
 
xtoq's Avatar
Interface Author - Click to view interfaces

Forum posts: 24
File comments: 482
Uploads: 1
Re: Lag every ten seconds.

Quote:
Originally posted by Azareus
I really like this addon, but it has a "half a second" lag (screen lag, not latency) every 10 seconds, and I think that it's happening everytime it collects information to be displayed in the tooltip. Even if the tooltip is hidden. No mouseover.

Ok, I have a lot of addons, etc., but this is driving my crazy. Every WoW session, for me, it's a pain. A "pause" every 10 seconds for 3 hours are really not for me. :-P

Anyway, nice job here. Hope you'll find a fix for that.

Aza
Its actully the updating of the LDB text itself. not only that, but I want to tell it "only update the MB usage every x second, the fps every x seconds, and the latency every x seconds" because I'm more concerned with latency and framerate than addon usage. Ultimately, although I dislike having to have 3 plugins to do something that one could do, I have to go back to my fps/memory/lat plugin setup before. Can't handle that screen lag either.
xtoq is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-22-2009, 09:39 PM  
jbashara
Zam editor
 
jbashara's Avatar

Forum posts: 10
File comments: 12
Uploads: 0
Red face IconR

Anyone have a problem where the LDB icon (the little computer icon) where it will keep re-appearing on every game restart, even if you've disabled it?

I try to optimize bar space, so I want the icon disabled. It will work initially--the icon will disappear like it should, and only show the text (FPS, Mem, Latency)...but every time I restart the game client, the icon is always back! Can't figure out why; this doesn't happen with any of my other LDB addons.

First I tried removing the actual .tga icon out of the addon directory, but that didn't work because there was still a black "placeholder" space where the icon would be, defeating the purpose of wanting a smaller view.

Then I tried looking in the .lua file to see if I could find a way to delete the code that refers to the icon, but I just couldn't find the right lines and kept messing it up, having to re-install it.

Any help?
jbashara is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 05-15-2009, 02:44 PM  
Azareus
A Deviate Faerie Dragon

Forum posts: 12
File comments: 7
Uploads: 0
Lag every ten seconds.

I really like this addon, but it has a "half a second" lag (screen lag, not latency) every 10 seconds, and I think that it's happening everytime it collects information to be displayed in the tooltip. Even if the tooltip is hidden. No mouseover.

Ok, I have a lot of addons, etc., but this is driving my crazy. Every WoW session, for me, it's a pain. A "pause" every 10 seconds for 3 hours are really not for me. :-P

Anyway, nice job here. Hope you'll find a fix for that.

Aza
Azareus is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-26-2009, 02:03 PM  
Mera
A Rage Talon Dragon Guard
 
Mera's Avatar
Interface Author - Click to view interfaces

Forum posts: 314
File comments: 104
Uploads: 7
//edit: Issue not yet investigated by the poor WotLK content for now I'm off playing/beta testing some other titles like Battlefield Heroes. Some geeks at Blizzard should understand there is more than fishing dailies to add to the game to make it as good as WoW 2.0, PVP totally disappeared for arenas and a stupid copy of Warhammer called: Wintergrasp, yey!

ok it's noted I will look at this, thanks for reporting that DockingStation behaviour

Last edited by Mera : 05-12-2009 at 08:04 AM.
Mera is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-15-2009, 12:29 AM  
SaberHawke
Premium Member
Premium Member

Forum posts: 21
File comments: 61
Uploads: 0
Re: Re: No tooltip with DockingStation

Quote:
Originally posted by MelodyXD
I get this same issue and brought it up with the addon author, he's been looking into it for quite some time but with no success, perhaps it is something on this end that isn't being quite compatible?

Edit: Forgot to mention that I *am* able to see a tooltip only if I go into libraries and disable & re-enable LibQTip. BUT I do end up having to do this every single time I log on. Basically, it just isn't working for GameToolTip, and it isn't using LibQTip on startup either even if I have it enabled.

Edit #2: I installed LibQTip and now (with LibQTip enabled) I can see the tooltip properly upon logging in. Gametooltip still does not show or function though.
I also had the same results while playing with it last week, hadn't had a chance to post yet.
SaberHawke is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 04-10-2009, 04:15 PM  
MelodyXD
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Re: No tooltip with DockingStation

Quote:
Originally posted by SaberHawke
I don't get a tooltip at all with DockingStation.
I get this same issue and brought it up with the addon author, he's been looking into it for quite some time but with no success, perhaps it is something on this end that isn't being quite compatible?

Edit: Forgot to mention that I *am* able to see a tooltip only if I go into libraries and disable & re-enable LibQTip. BUT I do end up having to do this every single time I log on. Basically, it just isn't working for GameToolTip, and it isn't using LibQTip on startup either even if I have it enabled.

Edit #2: I installed LibQTip and now (with LibQTip enabled) I can see the tooltip properly upon logging in. Gametooltip still does not show or function though.

Last edited by MelodyXD : 04-10-2009 at 11:10 PM.
MelodyXD is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.