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
ZhouShuya
OpenXG-RAN
Commits
ff482928
Commit
ff482928
authored
Feb 12, 2020
by
frtabu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
--amend
parent
e091f94a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
common/utils/T/local_tracer.c
common/utils/T/local_tracer.c
+3
-3
No files found.
common/utils/T/local_tracer.c
View file @
ff482928
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
#include "T_messages.txt.h"
#include "T_messages.txt.h"
#include "T_defs.h"
#include "T_defs.h"
#include "T_IDs.h"
#include "T_IDs.h"
#include "softmodem-common.h"
static
T_cache_t
*
T_local_cache
;
static
T_cache_t
*
T_local_cache
;
static
int
T_busylist_head
;
static
int
T_busylist_head
;
...
@@ -357,7 +357,7 @@ static void forward(void *_forwarder, char *buf, int size) {
...
@@ -357,7 +357,7 @@ static void forward(void *_forwarder, char *buf, int size) {
if
(
f
->
tail
!=
NULL
)
f
->
tail
->
next
=
new
;
if
(
f
->
tail
!=
NULL
)
f
->
tail
->
next
=
new
;
f
->
tail
=
new
;
f
->
tail
=
new
;
if
(
IS_SOFTMODEM_BASICSIM
){
#if BASIC_SIMULATOR
/* When runnng the basic simulator, the tracer may be too slow.
/* When runnng the basic simulator, the tracer may be too slow.
* Let's not take too much memory in the tracee and
* Let's not take too much memory in the tracee and
* wait if there is too much data to send. 200MB is
* wait if there is too much data to send. 200MB is
...
@@ -372,7 +372,7 @@ static void forward(void *_forwarder, char *buf, int size) {
...
@@ -372,7 +372,7 @@ static void forward(void *_forwarder, char *buf, int size) {
if
(
pthread_mutex_lock
(
&
f
->
lock
))
abort
();
if
(
pthread_mutex_lock
(
&
f
->
lock
))
abort
();
}
}
}
#endif
f
->
memusage
+=
size
+
4
;
f
->
memusage
+=
size
+
4
;
/* warn every 100MB */
/* warn every 100MB */
...
...
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