forked from google/gematria
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This patch adds a default benchmark scheduler. This scheduler assumes the worker performing the benchmarking has three hyperthreads available inside its CPU mask, with two of them being part of a pair (from the same core). It then selects one core from the pair to be used for the benchmarking subprocess, and selects the core outside of the pair to be used to run the main exegesis/python program. Verification is also added to ensure that nothing external to the program changes the process mask, or at least to catch it early if it does happen. Pull Request: google#271
- Loading branch information
1 parent
8eff101
commit 60749c7
Showing
2 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters