cpu profiling

Questions about YourKit Java Profiler
Locked
parveen333
Posts: 1
Joined: Thu Jan 18, 2024 7:23 am

cpu profiling

Post by parveen333 »

As per title. Is there a way to always start CPU profiling using asynchronous sampling?

I typically use Yourkit from the Intellijj plugin. When I execute the code, the CPU profiling is always using default sampling. This means I have to stop the CPU profiling, select asynchronous sampling, and restart it. Which is not ideal
Vladimir Kondratyev
Posts: 1660
Joined: Tue Aug 10, 2004 7:52 pm

Re: cpu profiling

Post by Vladimir Kondratyev »

You have to select "Async. CPU sampling" option in the IDEA's "Run/Debug Configurations" dialog. Please read "Profiling from IDEA" section in the docs:
https://www.yourkit.com/docs/java-profi ... p/idea.jsp

Best regards,
Vladimir Kondratyev
YourKit GmbH
http://www.yourkit.com
"Don't get lost in data, get information!"
Locked