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
Michael Black
OpenXG-RAN
Commits
6320e807
Commit
6320e807
authored
Nov 15, 2022
by
Marius Tillner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added init_latseq and close_latseq to nr-softmodem.c
parent
e1c5d144
Changes
1
Show 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 @
6320e807
...
...
@@ -80,6 +80,7 @@ unsigned short config_frames[4] = {2,9,11,13};
#include "gnb_paramdef.h"
#include <openair3/ocp-gtpu/gtp_itf.h>
#include "nfapi/oai_integration/vendor_ext.h"
#include "common/utils/LATSEQ/latseq.h"
pthread_cond_t
nfapi_sync_cond
;
pthread_mutex_t
nfapi_sync_mutex
;
...
...
@@ -620,6 +621,7 @@ int main( int argc, char **argv ) {
printf
(
"NFAPI MODE:%s
\n
"
,
nfapi_mode_str
);
init_latseq
(
"/tmp/latseq"
,
(
uint64_t
)(
cpuf
*
1000000000LL
));
printf
(
"START MAIN THREADS
\n
"
);
// start the main threads
number_of_cards
=
1
;
...
...
@@ -695,6 +697,7 @@ int main( int argc, char **argv ) {
printf
(
"Returned from ITTI signal handler
\n
"
);
oai_exit
=
1
;
printf
(
"oai_exit=%d
\n
"
,
oai_exit
);
close_latseq
();
//close before end of threads
// cleanup
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