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

Add basic benchmark scheduler #270

Merged

Conversation

boomanaiden154
Copy link
Collaborator

This patch introduces the BenchmarkScheduler interface that sets the CPU
affinity mask for the current process and gets a benchmark core for use
by llvm-exegesis. This patch additional introduces a BenchmarkScheduler
implementation that simply does nothing, which will preserve the
behavior that we have currently where we do not explicitly set CPU
masks.

boomanaiden154 added a commit to boomanaiden154/gematria that referenced this pull request Dec 25, 2024
This patch introduces the BenchmarkScheduler interface that sets the CPU
affinity mask for the current process and gets a benchmark core for use
by llvm-exegesis. This patch additional introduces a BenchmarkScheduler
implementation that simply does nothing, which will preserve the
behavior that we have currently where we do not explicitly set CPU
masks.

Pull Request: google#270
boomanaiden154 and others added 2 commits December 30, 2024 11:29
Created using spr 1.3.4

[skip ci]
Created using spr 1.3.4
boomanaiden154 added a commit to boomanaiden154/gematria that referenced this pull request Dec 30, 2024
This patch introduces the BenchmarkScheduler interface that sets the CPU
affinity mask for the current process and gets a benchmark core for use
by llvm-exegesis. This patch additional introduces a BenchmarkScheduler
implementation that simply does nothing, which will preserve the
behavior that we have currently where we do not explicitly set CPU
masks.

Pull Request: google#270
boomanaiden154 added a commit to boomanaiden154/gematria that referenced this pull request Dec 31, 2024
This patch introduces the BenchmarkScheduler interface that sets the CPU
affinity mask for the current process and gets a benchmark core for use
by llvm-exegesis. This patch additional introduces a BenchmarkScheduler
implementation that simply does nothing, which will preserve the
behavior that we have currently where we do not explicitly set CPU
masks.

Pull Request: google#270
Created using spr 1.3.4
@boomanaiden154 boomanaiden154 changed the base branch from users/boomanaiden154/main.add-basic-benchmark-scheduler to main December 31, 2024 00:45
@boomanaiden154 boomanaiden154 merged commit 09a6cde into main Dec 31, 2024
5 of 7 checks passed
@boomanaiden154 boomanaiden154 deleted the users/boomanaiden154/add-basic-benchmark-scheduler branch December 31, 2024 00:45
boomanaiden154 added a commit to boomanaiden154/gematria that referenced this pull request Dec 31, 2024
This reverts commit 86a1c06.

I apparently accidentally fixed up google#271 into google#270. This reverts the
changes that accidentally made there way into the tree.

Pull Request: google#276
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