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
9634185b
Commit
9634185b
authored
Jan 23, 2018
by
Massive
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removing some printfs
parent
99247393
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
openair1/PHY/TOOLS/time_meas.c
openair1/PHY/TOOLS/time_meas.c
+1
-1
openair1/SCHED/ru_procedures.c
openair1/SCHED/ru_procedures.c
+4
-4
No files found.
openair1/PHY/TOOLS/time_meas.c
View file @
9634185b
...
...
@@ -53,7 +53,7 @@ void print_meas_now(time_stats_t *ts, const char* name, FILE* file_name){
if
(
ts
->
trials
>
0
)
{
//fprintf(file_name,"Name %25s: Processing %15.3f ms for SF %d, diff_now %15.3f \n", name,(ts->diff_now/(cpu_freq_GHz*1000000.0)),subframe,ts->diff_now);
fprintf
(
file_name
,
"%
15.3f us, diff_now %15.3f
\n
"
,(
ts
->
diff_now
/
(
cpu_freq_GHz
*
1000
.
0
)
),(
double
)
ts
->
diff_now
);
fprintf
(
file_name
,
"%
s: %15.3f us, diff_now %15.3f
\n
"
,
name
,
ts
->
diff_now
/
(
cpu_freq_GHz
*
1000
.
0
),(
double
)
ts
->
diff_now
);
}
}
...
...
openair1/SCHED/ru_procedures.c
View file @
9634185b
...
...
@@ -165,8 +165,8 @@ static void *feptx_thread(void *param) {
return
NULL
;
}
/*if(opp_enabled == 1 && ru->ofdm_mod_wakeup_stats.diff_now>30*3000){
print_meas_now(&ru->ofdm_mod_wakeup_stats,"fep wakeup",stderr);
printf(
"delay in fep wakeup in frame_tx: %d subframe_rx: %d \n",proc->frame_tx,proc->subframe_tx);
//
print_meas_now(&ru->ofdm_mod_wakeup_stats,"fep wakeup",stderr);
LOG_W(PHY,
"delay in fep wakeup in frame_tx: %d subframe_rx: %d \n",proc->frame_tx,proc->subframe_tx);
}*/
}
...
...
@@ -223,8 +223,8 @@ void feptx_ofdm_2thread(RU_t *ru) {
wait_on_busy_condition
(
&
proc
->
mutex_feptx
,
&
proc
->
cond_feptx
,
&
proc
->
instance_cnt_feptx
,
"feptx thread"
);
stop_meas
(
&
ru
->
ofdm_mod_wait_stats
);
if
(
opp_enabled
==
1
&&
ru
->
ofdm_mod_wait_stats
.
diff_now
>
30
*
3000
){
print_meas_now
(
&
ru
->
ofdm_mod_wait_stats
,
"fep wakeup"
,
stderr
);
printf
(
"delay in feptx wait on codition in frame_rx: %d subframe_rx: %d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
//
print_meas_now(&ru->ofdm_mod_wait_stats,"fep wakeup",stderr);
LOG_W
(
PHY
,
"delay in feptx wait on codition in frame_rx: %d subframe_rx: %d
\n
"
,
proc
->
frame_tx
,
proc
->
subframe_tx
);
}
stop_meas
(
&
ru
->
ofdm_mod_stats
);
...
...
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