Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG UE
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
Michael Black
OpenXG UE
Commits
cb5e69fb
Commit
cb5e69fb
authored
Mar 20, 2017
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
integration fix: let ulsim compile again + minor modification in dlsim_tm4
parent
34bf8099
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
+2
-2
openair1/SIMULATION/LTE_PHY/ulsim.c
openair1/SIMULATION/LTE_PHY/ulsim.c
+2
-0
No files found.
openair1/SIMULATION/LTE_PHY/dlsim_tm4.c
View file @
cb5e69fb
...
@@ -297,8 +297,6 @@ int main(int argc, char **argv)
...
@@ -297,8 +297,6 @@ int main(int argc, char **argv)
int
threequarter_fs
=
0
;
int
threequarter_fs
=
0
;
cpuf
=
get_cpu_freq_GHz
();
opp_enabled
=
1
;
// to enable the time meas
opp_enabled
=
1
;
// to enable the time meas
#if defined(__arm__)
#if defined(__arm__)
...
@@ -317,6 +315,8 @@ int main(int argc, char **argv)
...
@@ -317,6 +315,8 @@ int main(int argc, char **argv)
#else
#else
cpu_freq_GHz
=
get_cpu_freq_GHz
();
cpu_freq_GHz
=
get_cpu_freq_GHz
();
#endif
#endif
cpuf
=
cpu_freq_GHz
;
printf
(
"Detected cpu_freq %f GHz
\n
"
,
cpu_freq_GHz
);
printf
(
"Detected cpu_freq %f GHz
\n
"
,
cpu_freq_GHz
);
//signal(SIGSEGV, handler);
//signal(SIGSEGV, handler);
...
...
openair1/SIMULATION/LTE_PHY/ulsim.c
View file @
cb5e69fb
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
PHY_VARS_eNB
*
eNB
;
PHY_VARS_eNB
*
eNB
;
PHY_VARS_UE
*
UE
;
PHY_VARS_UE
*
UE
;
double
cpuf
;
...
@@ -280,6 +281,7 @@ int main(int argc, char **argv)
...
@@ -280,6 +281,7 @@ int main(int argc, char **argv)
opp_enabled
=
1
;
// to enable the time meas
opp_enabled
=
1
;
// to enable the time meas
cpu_freq_GHz
=
(
double
)
get_cpu_freq_GHz
();
cpu_freq_GHz
=
(
double
)
get_cpu_freq_GHz
();
cpuf
=
cpu_freq_GHz
;
printf
(
"Detected cpu_freq %f GHz
\n
"
,
cpu_freq_GHz
);
printf
(
"Detected cpu_freq %f GHz
\n
"
,
cpu_freq_GHz
);
...
...
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