Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
alex037yang
OpenXG-RAN
Commits
03fc15f8
Commit
03fc15f8
authored
Jan 12, 2016
by
Rohit Gupta
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
default flags for deadline scheduler for different RF targets
parent
1b6407d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
2 deletions
+28
-2
cmake_targets/build_oai
cmake_targets/build_oai
+28
-2
No files found.
cmake_targets/build_oai
View file @
03fc15f8
...
@@ -46,6 +46,7 @@ XFORMS="False"
...
@@ -46,6 +46,7 @@ XFORMS="False"
PRINT_STATS
=
"False"
PRINT_STATS
=
"False"
VCD_TIMING
=
"False"
VCD_TIMING
=
"False"
LOWLATENCY_FLAG_USER
=
"False"
LOWLATENCY_FLAG_USER
=
"False"
FORCE_LOWLATENCY_FLAG_USER
=
""
REL
=
"Rel10"
REL
=
"Rel10"
HW
=
"EXMIMO"
HW
=
"EXMIMO"
NOS1
=
0
NOS1
=
0
...
@@ -230,11 +231,11 @@ function main() {
...
@@ -230,11 +231,11 @@ function main() {
echo_info
"setting CPU FLAGS from USER to:
$CFLAGS_PROCESSOR_USER
"
echo_info
"setting CPU FLAGS from USER to:
$CFLAGS_PROCESSOR_USER
"
shift
2
;;
shift
2
;;
--disable-deadline
)
--disable-deadline
)
LOWLATENCY_FLAG_USER
=
"False"
FORCE_
LOWLATENCY_FLAG_USER
=
"False"
echo_info
"Disabling the usage of deadline scheduler"
echo_info
"Disabling the usage of deadline scheduler"
shift
1
;;
shift
1
;;
--enable-deadline
)
--enable-deadline
)
LOWLATENCY_FLAG_USER
=
"True"
FORCE_
LOWLATENCY_FLAG_USER
=
"True"
echo_info
"Enabling the usage of deadline scheduler"
echo_info
"Enabling the usage of deadline scheduler"
shift
1
;;
shift
1
;;
...
@@ -248,6 +249,31 @@ function main() {
...
@@ -248,6 +249,31 @@ function main() {
esac
esac
done
done
#Now we set flags to enable deadline scheduler settings
#By default: USRP: disable,
#By default: BLADERF: enable,
#By default: EXMIMO: enable
if
[
"
$FORCE_LOWLATENCY_FLAG_USER
"
=
""
]
;
then
if
[
"
$HW
"
=
"EXMIMO"
]
;
then
LOWLATENCY_FLAG_USER
=
"True"
elif
[
"
$HW
"
=
"ETHERNET"
]
;
then
LOWLATENCY_FLAG_USER
=
"True"
elif
[
"
$HW
"
=
"OAI_USRP"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"OAI_BLADERF"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
elif
[
"
$HW
"
=
"None"
]
;
then
LOWLATENCY_FLAG_USER
=
"False"
else
echo_error
"Unknown HW type
$HW
. Exiting now..."
exit
fi
else
LOWLATENCY_FLAG_USER
=
$FORCE_LOWLATENCY_FLAG_USER
fi
echo_info
"Flags for Deadline scheduler:
$LOWLATENCY_FLAG_USER
"
############################################
############################################
# setting and printing OAI envs, we should check here
# setting and printing OAI envs, we should check here
############################################
############################################
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment