-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CPU affinity used for CPU pinning configurable via json file (#1136
) * changes to make cpu core for different processes configurable via json file * make default value as -1 for cpu cores * define variables for different core as extern in .h file * modified the logic and renamed the struct * fixed naming * fixed variabe name * set default value of cores as -1 * fixed variable name * renaming * renamed struct in localhost_config.json * initialized struct with -1 as default value * resolved Alex's comments. Updated PR description * added configuration for stream_read and stream_read_write * cleanup * addressed rohan's comments --------- Co-authored-by: Raghav Rawat <raghavrawat@ni.com>
- Loading branch information
Showing
6 changed files
with
116 additions
and
10 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
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#ifndef MONIKER_STREAM_PROCESSOR_H | ||
#define MONIKER_STREAM_PROCESSOR_H | ||
|
||
struct MonikerStreamProcessor { | ||
int moniker_sideband_stream_read_write = -1; | ||
int moniker_stream_write = -1; | ||
int moniker_stream_read = -1; | ||
int moniker_stream_read_write = -1; | ||
}; | ||
|
||
#endif // Moniker_Stream_Processor_H |
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