How do I run the calibration process on a remote machine?
To collect calibration data on a remote system for profiling remotely, do the following:
- Create Profiler Remote Pack in Attach wizard (if you are running NetBeans 6.1 or older, download the Profiler Remote Pack for the appropriate platform at http://profiler.netbeans.org/) and unzip the archive on the remote machine.
- Run the calibrate.bat/calibrate.sh script located in the bin directory.
When the calibration is finished, the results of the calibration are displayed in the console. You can then start to profile your remote application.
What exactly does the Profiler Calibration mean?
When instrumenting bytecode and obtaining time stamps from the OS, extra overhead is imposed in the profiled application. During calibration this extra time is measured and then subtracted from collected results during profiling.
In fact the JDK which will run the profiled application is being instrumented, not the IDE itself. Note that if your computer uses a dynamic frequency switching feature (Like SpeedStep or PowerNow!), you have to disable it before calibration and during profiling, otherwise collected data won't be accurate.
The calibration data for each JDK is saved in the .nbprofile directory in your home directory.
Back to NetBeans IDE Profiling FAQs
Back to NetBeans User FAQs