Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adjust timestamps based on hotspot_log.time_ms #280

Open
mjmeehan opened this issue Feb 28, 2018 · 2 comments
Open

Adjust timestamps based on hotspot_log.time_ms #280

mjmeehan opened this issue Feb 28, 2018 · 2 comments
Assignees

Comments

@mjmeehan
Copy link

mjmeehan commented Feb 28, 2018

Timestamps in timeline output are displayed relative to the start time of the process. This is because stamp entries are marked as of the start time of the JVM. Adjust these relative timestamps by the timestamp recorded in the <hotspot_log time_ms='1519794663869'> tag.

Essentially, instead of just converting stamp to hours, use hotspot_log.time_ms / 1000 + stamp to generate a datetime.

@chriswhocodes
Copy link
Member

Thanks, good idea. Will make it easier to correlate with other log files.

@chriswhocodes
Copy link
Member

Implemented back end of this feature in 3267326

Now need to add options in UI to view log timestmpas as absolute time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants