SamplingProfiler includes web-based real-time profiling monitor. This monitor allows to see the code responsible for the highest CPU usage during a short time-lapse (a few seconds).
The monitor is enabled from the main options, you can select the HTTP server TCP port and refresh time for the values the monitor will present.
For the monitor to work, make sure SamplingProfiler is authorized in your Firewall and pick an unused TCP port. If you're using a proxy, you will have to make sure the proxy can reach the machine hosting SamplingProfiler, or add an exception in your browser.
To access a monitor on the local machine, you can use the following url
http://localhost:880/
If you changed the default port, replace 880 by the port number you picked.
This will access a self-refreshed html page (you can control the refresh by clicking on the play/pause button in that page).
Monitor sampling information is also available in xml format at
http://localhost:880/sampling.xml
The monitor HTTP server currently does not place any restriction on the access IPs, or password, or anything. Everything is read-only however, and at this point, no access is provided to local files or resources.
You can have as many HTTP servers as you wish running on the same machine (be they multiple instances of SamplingProfiler's or not), as long as they each use a different port.
Created with the Personal Edition of HelpNDoc: Free EPub producer