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

WIP share more between threads #5273

Draft
wants to merge 10 commits into
base: main
Choose a base branch
from

Conversation

mstange
Copy link
Contributor

@mstange mstange commented Dec 19, 2024

No description provided.

Getting a nearby non-null value would cause us to double-count CPU time.
Usually it's just the first value that's null anyway, and we ignore it.
…rval.

This also fixes the situation where computeMaxThreadCPUDeltaPerMs said
it should be called after processing the thread CPU deltas, but
computeMaxCPUDeltaPerInterval was calling it before processing.
The loop skips i === 0 so the value was never used.
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.

1 participant