Note: You need to have NWNX installed for this NWNX module to work.
The 'Profiler' is a NWNX module that spits out statistics about running scripts. It shows how often a script has been called, how much time it took to complete, and gives some overall statistics. This is especially useful if you want to identify scripts with performance problems, or want to determine which scripts should be put in the script cache.
You do not need to put any special code in your scripts.... just copy the nwnx_profile.dll in your NWN directory, load up a module, and check the logs.0 directory for nwnx_profile.txt. Every 10 seconds, this module will append the current statistics into this file, so remember to re-open it once in a while to get updated statistics.
Version history: 05.09.2003: initial release (with APS v2.5) 16.10.2003: Now includes all scripts and has some performance optimizations (v1.1)
Papillon,can we use this with APS/NWNX Linux Beta 4?
Posted by ti_ger777 ( ..xxx.xxx ) at 2003-11-10 10:05:00
he thank papillon that exactly what i need :) , my module run for over then 6 month with the nwnx2 , and is work very well , you can visit im in action module name MORROWINDX , thank alot , thank again for your work and to share with us , :)
Posted by I'm Not Worthy ( ..xxx.xxx ) at 2003-10-22 10:05:00
Hello,
Don't suppose there would/could be a way to track specific function calls would there? Like if you were trying to track down a memory leak so you wanted to trace where and how often createObject() (or whatever it's called :)) is called?
Just curious.
You must be Logged In to post comments in this section.