Skip to content

Update jfr time calculations - #20312

Merged
gacholio merged 1 commit into
eclipse-openj9:masterfrom
tajila:jfr4
Oct 8, 2024
Merged

Update jfr time calculations#20312
gacholio merged 1 commit into
eclipse-openj9:masterfrom
tajila:jfr4

Conversation

@tajila

@tajila tajila commented Oct 7, 2024

Copy link
Copy Markdown
Contributor

JFR timestamps are calculated in the following manner.

timestamp = chunkStartTime + (jfrTicks - chunkStartTicks)

The reason the data seemed sensible is because we always made the chunkStartTicks zero in the chunk header, so the relative difference in the millisecond time entries made some sense, but this was incorrect.

@tajila
tajila requested a review from gacholio October 7, 2024 18:49
Comment thread runtime/oti/j9nonbuilder.h Outdated
JFR timestamps are calculated in the following manner.

timestamp = chunkStartTime + (jfrTicks - chunkStartTicks)

The reason the data seemed sensible is because we always made the
chunkStartTicks zero in the chunk header, so the relative difference in
the millisecond time entries made some sense, but this was incorrect.

Signed-off-by: tajila <atobia@ca.ibm.com>
@gacholio

gacholio commented Oct 8, 2024

Copy link
Copy Markdown
Contributor

jenkins test sanity xlinux jdk21

@gacholio
gacholio merged commit 69d16bb into eclipse-openj9:master Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants