Profiling processor activity
tomk
Posts: 24
When I'm working on a reasonably large project with multiple Netlinx and Duet modules I find it really hard to figure out what parts of the program are overloading the processor - be it particular event handlers, functions, java code or time spent shuffling commands/strings back and forth between devices.
Diagnostic and notification information is a start but it is positively medieval next to profiling tools for PC software that will tell you how many milliseconds have been spent in each function etc.
Do any similar tools exist for AMX? Or are there ways I can get access to scheduling information that will allow me to pinpoint processor hogs?
Cheers
Diagnostic and notification information is a start but it is positively medieval next to profiling tools for PC software that will tell you how many milliseconds have been spent in each function etc.
Do any similar tools exist for AMX? Or are there ways I can get access to scheduling information that will allow me to pinpoint processor hogs?
Cheers
0
Comments
Also, if you are just wanting to quickly visualise how you system resources respond to different events this may be of use.
...
Mate.
Absolutely brilliant. Both of those things are wonderful and I fully intend to pick apart your java to see how you're doing this. Thanks.
It just sets up a telnet connection to the master and parses the result of 'cpu usage' and 'show mem' at regular intervals then feeds that into LiveGraph. Stupidly simple and nasty. There's plenty of nicer ways to do it but this approach means you don't need any client side code.