comparing java profiles using analyzer
I have a couple of Java profiles collected using Sun studio collector and I want to compare and see differences between them. That is, which Java method is taking more/less time in profile2 vs profile1. I could not find any way to do so in Sun studio Analyzer. If there is some way, please let me know.
# 2
Unfortunately, there is no way to compare two experiments in Analyzer.The best I can suggest is to use the command line utility, er_print, and postprocess its output for experiments to be compared.-- Oleg
# 3
I tried using er_print from Sun Studio version 10 & 11 and both bailed out giving me this error:
"no log file in experiment"
This is the command I fired off:
er_print -outfile er_print.out -functions test.1.er
I can see a log.xml in the experiment (if that is what er_print is looking for). So to validate if experiement was done right, I ran Analyzer on it. Except for a message on warnings during collection (mostly due to missing patches), Analyzer could open the experiment and I could browse through all the data.