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

Refactor performance counters: "on-the-fly" and "on-the-fly-lw" modes #65

Merged
merged 1 commit into from
Dec 25, 2023

Conversation

JiakunYan
Copy link
Collaborator

Rename the previous "on-the-fly" mode into "on-the-fly-lw": in this mode, a monitor thread will tell application threads "it's time to dump the performance counters". It is the application threads' job to dump the performance counters. It is called "lightweight" because no performance counters will be dumped if they are not changed.

In the new "on-the-fly" mode, a monitor thread will directly dump the performance counters at fixed intervals. It is useful for debugging deadlocks.

Rename the previous "on-the-fly" mode into "on-the-fly-lw": in this mode,
a monitor thread will tell application threads "it's time to dump the performance counters".
It is the application threads' job to dump the performance counters.
It is called "lightweight" because no performance counters will be dumped if they are not changed.

In the new "on-the-fly" mode, a monitor thread will directly dump
the performance counters at fixed intervals. It is useful for debugging deadlocks.
@JiakunYan JiakunYan merged commit c272351 into master Dec 25, 2023
2 of 3 checks passed
@JiakunYan JiakunYan deleted the refactor branch December 25, 2023 18:29
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