Skip to content

Add command "absolute-time" to get value of monotonic clock#4086

Merged
rocallahan merged 1 commit into
rr-debugger:masterfrom
timo:absolute-time_command
Jul 21, 2026
Merged

Add command "absolute-time" to get value of monotonic clock#4086
rocallahan merged 1 commit into
rr-debugger:masterfrom
timo:absolute-time_command

Conversation

@timo

@timo timo commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

absolute-time gives the absolute monotonic clock time from the current event.

This is useful when you want to align events with a perf recording that also uses the monotonic clock (you still have to scale by 1000000000 of course.)

@rocallahan rocallahan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good other than this comment.

Comment thread src/DebuggerExtensionCommand.cc Outdated
This can help with correlating an rr recording with a perf recording
for example.
@timo
timo force-pushed the absolute-time_command branch from 3b4922d to aa9222d Compare July 21, 2026 18:03
@rocallahan
rocallahan merged commit 39e5c18 into rr-debugger:master Jul 21, 2026
2 checks passed
@timo
timo deleted the absolute-time_command branch July 21, 2026 20:46
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