flush traces
This commit is contained in:
@@ -1373,7 +1373,12 @@ void DL_du_fs6(RU_t *ru) {
|
|||||||
|
|
||||||
void UL_du_fs6(RU_t *ru, int frame, int subframe) {
|
void UL_du_fs6(RU_t *ru, int frame, int subframe) {
|
||||||
RU_proc_t *ru_proc=&ru->proc;
|
RU_proc_t *ru_proc=&ru->proc;
|
||||||
|
initStaticTime(begingWait);
|
||||||
|
initRefTimes(fullLoop);
|
||||||
|
pickStaticTime(begingWait);
|
||||||
rx_rf(ru);
|
rx_rf(ru);
|
||||||
|
updateTimesReset(begingWait, &fullLoop, 1000, "DU wait USRP");
|
||||||
|
|
||||||
setAllfromTS(ru_proc->timestamp_rx);
|
setAllfromTS(ru_proc->timestamp_rx);
|
||||||
// front end processing: convert from time domain to frequency domain
|
// front end processing: convert from time domain to frequency domain
|
||||||
// fills rxdataF buffer
|
// fills rxdataF buffer
|
||||||
@@ -1434,7 +1439,11 @@ void DL_cu_fs6(RU_t *ru) {
|
|||||||
|
|
||||||
void UL_cu_fs6(RU_t *ru, uint64_t *TS) {
|
void UL_cu_fs6(RU_t *ru, uint64_t *TS) {
|
||||||
initBufferZone(bufferZone);
|
initBufferZone(bufferZone);
|
||||||
|
initStaticTime(begingWait);
|
||||||
|
initRefTimes(fullLoop);
|
||||||
|
pickStaticTime(begingWait);
|
||||||
int nb_blocks=receiveSubFrame(&sockFS6, bufferZone, sizeof(bufferZone), CTsentDUv0 );
|
int nb_blocks=receiveSubFrame(&sockFS6, bufferZone, sizeof(bufferZone), CTsentDUv0 );
|
||||||
|
updateTimesReset(begingWait, &fullLoop, 1000, "CU wait DU");
|
||||||
|
|
||||||
if (nb_blocks ==0) {
|
if (nb_blocks ==0) {
|
||||||
LOG_W(PHY, "CU lost a subframe\n");
|
LOG_W(PHY, "CU lost a subframe\n");
|
||||||
|
|||||||
@@ -746,6 +746,7 @@ void tx_rf(RU_t *ru) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void *ru_thread( void *param ) {
|
static void *ru_thread( void *param ) {
|
||||||
|
setbuf(stdout, NULL);
|
||||||
RU_t *ru = (RU_t *)param;
|
RU_t *ru = (RU_t *)param;
|
||||||
|
|
||||||
if (ru->if_south == LOCAL_RF) { // configure RF parameters only
|
if (ru->if_south == LOCAL_RF) { // configure RF parameters only
|
||||||
|
|||||||
Reference in New Issue
Block a user