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

getRecentTime() should not be used when tracing is enabled #2390

Closed
lifflander opened this issue Jan 9, 2025 · 0 comments · Fixed by #2394
Closed

getRecentTime() should not be used when tracing is enabled #2390

lifflander opened this issue Jan 9, 2025 · 0 comments · Fixed by #2394
Assignees

Comments

@lifflander
Copy link
Collaborator

Describe the bug
In runnable.cc, using the "recent time" to avoid calling the timer which is expensive leads to highly inaccurate traces. We should get the current time when tracing is compile-time enabled and being used at runtime (i.e., the trace context is enabled for a runnable).

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

Successfully merging a pull request may close this issue.

2 participants