RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v5]

Johannes Bechberger jbechberger at openjdk.org
Mon May 26 15:35:44 UTC 2025


On Mon, 26 May 2025 15:12:53 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:

>> You need to expand the Event Browser section and locate your event, Johannes.
>
> ![Screenshot From 2025-05-26 17-12-24](https://github.com/user-attachments/assets/9898d788-df61-4391-920a-fbecfa6b360c)

> Sorry, you represent the sampling period value as ticks, not nanos. Its a Tickspan after all.

I don't. I represent it as a Tickspan, as I substract two TimeInstants:


  TimeInterval<Rep, TimeSource> operator-(const TimeInstant<Rep, TimeSource>& start) const {
    return TimeInterval<Rep, TimeSource>(*this, start);
  }

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2107571501


More information about the hotspot-jfr-dev mailing list