RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v5]
Markus Grönlund
mgronlun at openjdk.org
Mon May 26 14:46:55 UTC 2025
On Mon, 26 May 2025 14:09:35 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> (value * (unit / frequency)) != (value / unit * frequency)
>
> The mentioned conversion is from ticks to time unit:
>
> nanos = ticks * 1_000_000_000 / frequency
>
> therefore
>
> nanos / 1_000_000_000 * frequency = ticks
Sorry, you represent the sampling period value as ticks, not nanos. Its a Tickspan after all.
Does it look right in the jfr parser alt JMC?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2107489332
More information about the hotspot-jfr-dev
mailing list