Category: Developer Utilities
Addon Information
Works with 3.2
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)
Author:
Version:
r20090805
Date:
08-05-2009 05:02 PM
Size:
9.87 Kb
Downloads:
2,206
Favorites:
47
MD5:
Pictures
Click to enlarge
Click to enlarge
Click to enlarge
Resource Tools
Profiling addon for developers who want finer control and easier access to the new CPU and memory functions that were introduced in WoW 2.1, you can use the slash commands for quick access to these functions, or you can type /rt ui to pull up the profiling panel.
  Change Log - Resource Tools
Author: Shadowed <shadowed.wow@gmail.com>
Date: Wed Aug 5 14:01:40 2009 -0700
Fixed another bug with saving settings
Moved to SetFormattedText
Moved to MiB/KiB instead of MB/KB
Fixed CPU stats showing up in milliseconds instead of seconds
Fixed errors related to logging out and variables not being saved
Fixed leaked globals
Localization update
* TOC Bump + Made it support AddonLoader

Date: Thu Jul 23 23:12:14 2009 -0700
* Moved to using _G instead of getglobal
* Fixed an error when logging out
* Fixed weird formatting I was using 3 years ago
* Fixed blacklist.lua file reference that didn't exist
* TOC update

Date: Sat Nov 1 04:35:49 2008 +0000
* Updated for 3.0

Date: Fri Sep 21 23:24:21 2007 +0000
* Moving rophy's version to trunk

Date: Fri Jun 29 15:21:05 2007 +0000
Things changed, no idea what.

Date: Fri Jun 15 01:10:01 2007 +0000

Date: Sun Jun 3 20:10:37 2007 +0000
Changed function name clipping, will do it at >= 36 characters and it'll instead keep 0 through 36 instead of the same method as events use, as you usually need the later part of the function to know what to modify.
Improved CPU profiling detection, will only let you use CPU profiling enabled features after a reloadui instead of right after /rt cpu
Cleaned up the /rt event code, will handle multiple events better and will also accept "all" even with multiple events passed.
Added /rt ui for toggling the new profiling window
Added a profiling UI that lets you view total CPU/Memory of all addons, along with profiling all of the functions inside a namespace, you can also view the time taken and how many times all of the events were called.
Search boxes can be used to narrow down what functions or events will be shown.

Date: Sun May 27 17:50:54 2007 +0000
Fixed /rt event not accepting multiple events when separated by a comma.
Fixed /rt func not matching regular functions instead of Foo.Bar formatted ones, also fixed no error message when the function didn't exist
Added an average seconds of time used for function and event profiling.
Added /rt reset to reset the CPU profiling stats
Added messages that the function or event was never called instead of showing 0 seconds, called 0 times.

Date: Sat May 26 17:19:34 2007 +0000
Forgot to remove the UpdateEventList function call for now.
Initial Commit.
Resource tools is for developers who want to profile their addon without having to mess around with the functions directly, you can access all of the profiling functions through /rt.
  Optional Files - Resource Tools
Sorry, there are currently no optional files available.
  Archived Versions - Resource Tools
File Name
Version
Size
Author
Date
r20090805
10kB
Shadowed
08-05-2009 04:49 PM
r20090723
10kB
Shadowed
07-24-2009 02:16 AM
r998
10kB
Shadowed
11-01-2008 12:36 AM
  Comments - Resource Tools
Post A Reply Comment Options
Old 07-24-2009, 02:04 AM  
Shadowed
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 1720
Uploads: 90
Fixed
Shadowed is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 07-20-2009, 02:43 AM  
Elkano
A Flamescale Wyrmkin
 
Elkano's Avatar
Interface Author - Click to view interfaces

Forum posts: 113
File comments: 148
Uploads: 12
Shadowed, I found a small bug in RT:

ResourceTools\\ResourceTools.lua:999: attempt to call field '?' (a nil value)

this is caused on reload/logout due to the fact, that you are calling
self[event](self, ...)
but self is pointing to your event frame instead of the RT table as it should.
So changing this to
RT[event](RT, ...)
should work.
__________________
This posting is made of 100% recycled electrons.
Elkano is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-18-2008, 07:13 AM  
Mike-N-Go
An Aku'mai Servant
Interface Author - Click to view interfaces

Forum posts: 36
File comments: 147
Uploads: 19
Is there a way to sort by CPU usage with the addon, via a /rt command or the GUI?

Other then:
Code:
/run RT.extrasFrame.sortType = "cpu"

Last edited by Mike-N-Go : 12-18-2008 at 07:21 AM.
Mike-N-Go is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-07-2008, 09:56 PM  
vithos
A Kobold Labourer

Forum posts: 0
File comments: 22
Uploads: 0
I get this error during reloadui (have to enable error saving in bugsack and view all errors, not session errors):
Code:
[2008/11/07 20:42:18-227-x1]: ResourceTools\ResourceTools.lua:999: attempt to index global 'self' (a nil value)

  ---
vithos is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-28-2008, 07:01 PM  
Shadowed
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 1720
Uploads: 90
I'll see about getting it updated, but it's not high on my list, should be able to get around to it tomorrow or Friday.
Shadowed is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-28-2008, 06:08 PM  
Saiket
A Murloc Raider
 
Saiket's Avatar
Interface Author - Click to view interfaces

Forum posts: 6
File comments: 165
Uploads: 14
Broken in 3.0.2.

Are there any plans to update this addon to 3.0.2? Currently the "/rt ui" command throws the following error:
Code:
ResourceTools\ResourceTools.lua:461: attempt to call method 'GetFont' (a nil value)
ResourceTools\ResourceTools.lua:285: in function `?'
ResourceTools\Dongle.lua:1008: in function <Interface\AddOns\ResourceTools\Dongle.lua:996>
ResourceTools\Dongle.lua:1045: in function `value'
Interface\FrameXML\ChatFrame.lua:3212: in function `ChatEdit_ParseText':
Interface\FrameXML\ChatFrame.lua:2911: in function `ChatEdit_SendText':
Interface\FrameXML\ChatFrame.lua:2932: in function `ChatEdit_OnEnterPressed':
<string>:"*:OnEnterPressed":1: in function <[string "*:OnEnterPressed"]:1
Saiket is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-15-2007, 01:55 PM  
Shadowed
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 1720
Uploads: 90
Indeed, it's fixed.
Shadowed is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-14-2007, 04:35 AM  
arkayenro
A Murloc Raider
Interface Author - Click to view interfaces

Forum posts: 9
File comments: 244
Uploads: 3
same here, download r37 and /rt ui does not work

changelog text file only goes up to r15 - which is probably why we're wondering if the right zip file got uploaded for r37.
arkayenro is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-11-2007, 11:50 PM  
Niightblade
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 15
File comments: 18
Uploads: 1
Quote:
Originally posted by Shadowd
Cause it's /rt ui not /rt gui
Yeah sorry, typo. I meant /rt ui. Doesn't work.
Niightblade is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-11-2007, 02:38 PM  
Shadowed
Premium Member
Premium Member
Interface Author - Click to view interfaces

Forum posts: 40
File comments: 1720
Uploads: 90
Cause it's /rt ui not /rt gui
Shadowed is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 06-11-2007, 01:09 AM  
Niightblade
A Deviate Faerie Dragon
Interface Author - Click to view interfaces

Forum posts: 15
File comments: 18
Uploads: 1
Latest Version?

Are you sure you uploaded the latest version? The changelog for the version I just downloaded (using the big download button) doesn't even mention the /rt gui command, and it doesn't work in-game.
Niightblade is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.




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.