forked from ros2/rcl
-
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.
Modified to receive multiple core affinity parameters according to th…
…e update of REP-2017 below. ros-infrastructure/rep#385 Signed-off-by: Shoji Morita <[email protected]>
- Loading branch information
1 parent
043b11b
commit 78ee281
Showing
7 changed files
with
102 additions
and
46 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
- name: thread-1 | ||
priority: 10 | ||
scheduling_policy: FIFO | ||
core_affinity: 1 | ||
core_affinity: [1] | ||
- name: thread-2 | ||
priority: 20 | ||
scheduling_policy: RR | ||
core_affinity: 2 | ||
core_affinity: [2] |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,40 @@ | ||
- priority: 0 | ||
name: thread-0 | ||
core_affinity: 0 | ||
core_affinity: [0,10,0] | ||
scheduling_policy: BADSCHEDPOLICY1 | ||
- priority: 10 | ||
name: thread-1 | ||
core_affinity: 1 | ||
core_affinity: [1,11,1] | ||
scheduling_policy: FIFO | ||
- priority: 20 | ||
name: thread-2 | ||
core_affinity: 2 | ||
core_affinity: [2,12,4] | ||
scheduling_policy: RR | ||
- priority: 30 | ||
name: thread-3 | ||
core_affinity: 3 | ||
core_affinity: [3,13,9] | ||
scheduling_policy: SPORADIC | ||
- priority: 40 | ||
name: thread-4 | ||
core_affinity: 4 | ||
core_affinity: [4,14,16] | ||
scheduling_policy: OTHER | ||
- priority: 50 | ||
name: thread-5 | ||
core_affinity: 5 | ||
core_affinity: [5,15,25] | ||
scheduling_policy: IDLE | ||
- priority: 60 | ||
name: thread-6 | ||
core_affinity: 6 | ||
core_affinity: [6,16,36] | ||
scheduling_policy: BATCH | ||
- priority: 70 | ||
name: thread-7 | ||
core_affinity: 7 | ||
core_affinity: [7,17,49] | ||
scheduling_policy: DEADLINE | ||
- priority: 80 | ||
name: thread-8 | ||
core_affinity: 8 | ||
core_affinity: [8,18,64] | ||
scheduling_policy: BADSCHEDPOLICY2 | ||
- priority: 90 | ||
name: thread-9 | ||
core_affinity: 9 | ||
core_affinity: [9,19,81] | ||
scheduling_policy: FIFO |