Hi,
I feel a bit stupid since this seems like such an obvious thing. I captured a performance snapshot from an attached agent with about 30 minutes of cpu sampling data.
Now, the profiler was already connected and sampling had been running for a while before the actual action started. I know I want exactly 30 minutes of the action to compare it to another snapshot of that length.
How can I tell Yourkit to "crop" a snapshot of cpu sampling to an exact timeframe? I want to discard all information outside of a given timebox.
Time-Limiting performance snapshot
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Time-Limiting performance snapshot
Hello,
CPU sampling aggregates time per thread and stack trace for the entire CPU sampling session period, it is impossible to extract the numbers for a given time sub-range.
Unlike sampling, the CPU usage estimation feature allows you to choose arbitrary time range:
https://www.yourkit.com/docs/java/help/ ... mation.jsp
(In particular, please see the "Comparison with CPU sampling" section.)
CPU sampling aggregates time per thread and stack trace for the entire CPU sampling session period, it is impossible to extract the numbers for a given time sub-range.
Unlike sampling, the CPU usage estimation feature allows you to choose arbitrary time range:
https://www.yourkit.com/docs/java/help/ ... mation.jsp
(In particular, please see the "Comparison with CPU sampling" section.)
-
- Posts: 3
- Joined: Thu Apr 13, 2017 3:54 pm
Re: Time-Limiting performance snapshot
Ah, that makes sense. Thanks for the swift reply!
-
- Posts: 3
- Joined: Thu Apr 13, 2017 3:54 pm
Re: Time-Limiting performance snapshot
Is that a question? Or do you have a similar problem?...erased...
-
- Posts: 6172
- Joined: Wed Aug 11, 2004 8:37 am
Re: Time-Limiting performance snapshot
No, that was a spammer with a random message.