RFR: 8342818: Implement JEP 509: JFR CPU-Time Profiling [v5]
Markus Grönlund
mgronlun at openjdk.org
Mon May 26 14:06:55 UTC 2025
On Mon, 26 May 2025 08:44:26 GMT, Johannes Bechberger <jbechberger at openjdk.org> wrote:
>> Could you give me a hand with the conversion?
>
> My code is the inversion of
>
>
> template <typename TimeSource, const int unit>
> inline double conversion(typename TimeSource::Type& value) {
> return (double)value * ((double)unit / (double)TimeSource::frequency());
> }
(value * (unit / frequency)) != (value / unit * frequency)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/25302#discussion_r2107424093
More information about the hotspot-jfr-dev
mailing list