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
lizhongxiao
OpenXG-RAN
Commits
3da85845
Commit
3da85845
authored
Sep 21, 2023
by
Marius Tillner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added init_latseq and close_latseq to nr-softmodem.c
parent
deee2567
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
executables/nr-softmodem.c
executables/nr-softmodem.c
+3
-0
No files found.
executables/nr-softmodem.c
View file @
3da85845
...
@@ -81,6 +81,7 @@ unsigned short config_frames[4] = {2,9,11,13};
...
@@ -81,6 +81,7 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "gnb_config.h"
#include "gnb_config.h"
#include "openair2/E1AP/e1ap_common.h"
#include "openair2/E1AP/e1ap_common.h"
#include "openair2/E1AP/e1ap_api.h"
#include "openair2/E1AP/e1ap_api.h"
#include "common/utils/LATSEQ/latseq.h"
#ifdef E2_AGENT
#ifdef E2_AGENT
#include "openair2/E2AP/flexric/src/agent/e2_agent_api.h"
#include "openair2/E2AP/flexric/src/agent/e2_agent_api.h"
...
@@ -654,6 +655,7 @@ int main( int argc, char **argv ) {
...
@@ -654,6 +655,7 @@ int main( int argc, char **argv ) {
pthread_mutex_init
(
&
sync_mutex
,
NULL
);
pthread_mutex_init
(
&
sync_mutex
,
NULL
);
}
}
init_latseq
(
"/tmp/latseq"
,
(
uint64_t
)(
cpuf
*
1000000000LL
));
printf
(
"START MAIN THREADS
\n
"
);
printf
(
"START MAIN THREADS
\n
"
);
// start the main threads
// start the main threads
number_of_cards
=
1
;
number_of_cards
=
1
;
...
@@ -787,6 +789,7 @@ int main( int argc, char **argv ) {
...
@@ -787,6 +789,7 @@ int main( int argc, char **argv ) {
printf
(
"Returned from ITTI signal handler
\n
"
);
printf
(
"Returned from ITTI signal handler
\n
"
);
oai_exit
=
1
;
oai_exit
=
1
;
printf
(
"oai_exit=%d
\n
"
,
oai_exit
);
printf
(
"oai_exit=%d
\n
"
,
oai_exit
);
close_latseq
();
//close before end of threads
// cleanup
// cleanup
if
(
RC
.
nb_nr_L1_inst
>
0
)
if
(
RC
.
nb_nr_L1_inst
>
0
)
...
...
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