Hi,
I'm trying to profile a real-time application that runs in units of frames (around a dozen milliseconds each)
Is it possible to isolate singular frames in YourKit to figure out what caused spikes? Perhaps using the API?
Thanks!
Real-time application frame profiling
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Real-time application frame profiling
Hi,
Yes, you can try using the API: https://www.yourkit.com/docs/java/help/api.jsp
To get a series of snapshots for long frames, start profiling, then for each frame clear profiling results when the frame begins, and when it ends capture a performance snapshot if it took significant time.
When profiling in sampling mode, you may want to set smaller sampling period (for periodic sampling) or CPU threshold (for asynchronous CPU sampling) to make results more precise: https://www.yourkit.com/docs/java/help/ ... ttings.jsp
Best regards,
Anton
Yes, you can try using the API: https://www.yourkit.com/docs/java/help/api.jsp
To get a series of snapshots for long frames, start profiling, then for each frame clear profiling results when the frame begins, and when it ends capture a performance snapshot if it took significant time.
When profiling in sampling mode, you may want to set smaller sampling period (for periodic sampling) or CPU threshold (for asynchronous CPU sampling) to make results more precise: https://www.yourkit.com/docs/java/help/ ... ttings.jsp
Best regards,
Anton