Jprofiler 7.2.2 - how do I view time spent in methods

joneric wennerstrom picture joneric wennerstrom · Jan 29, 2013 · Viewed 13.6k times · Source

I have downloaded the trial version of JProfiler, and am testing it out on a java 1.5 console app. It only shows me memory usage, ie, how many times a java.lang.String was instantiated. I want to see what methods were called and how much time is spent in each method. I have not figured out how to do this in the trial version.

I viewed the following article http://java.dzone.com/articles/jprofiler-your-java-code-could, which shows a menu choice for "Performance Bottle Necks". I don't have this option in my drop down menu. Is this feature disabled in the trial version?

Answer

Ingo Kegel picture Ingo Kegel · Jan 30, 2013

Activate the CPU view section in the left side bar, then choose the "Hot spots" tab. You might have to start recording CPU data first. If no data has been recorded, there will be a button that tab that allows you to start CPU recording.