mirror of
https://github.com/gnss-sdr/gnss-sdr
synced 2024-12-15 12:40:35 +00:00
Debug log lines
This commit is contained in:
parent
3eafe2047a
commit
b28c244df5
@ -329,6 +329,7 @@ int pcps_acquisition_cc::general_work(int noutput_items,
|
||||
d_input_power = 0.0;
|
||||
d_test_statistics = 0.0;
|
||||
d_state = 1;
|
||||
LOG(INFO) << "ACQ. general_work changing to state 1 (active)";
|
||||
}
|
||||
|
||||
d_sample_counter += d_fft_size * ninput_items[0]; // sample counter
|
||||
@ -368,8 +369,9 @@ int pcps_acquisition_cc::general_work(int noutput_items,
|
||||
|
||||
if( d_blocking )
|
||||
{
|
||||
LOG(INFO) << "ACQ. general_work waiting for acquisition_core";
|
||||
d_cond.wait( lk, [&]{ return !this->d_new_data_available; } );
|
||||
|
||||
LOG(INFO) << "ACQ. Exiting general_work";
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -60,6 +60,7 @@
|
||||
#include <gnuradio/gr_complex.h>
|
||||
#include <gnuradio/fft/fft.h>
|
||||
#include "gnss_synchro.h"
|
||||
#include <glog/logging.h>
|
||||
|
||||
class pcps_acquisition_cc;
|
||||
|
||||
@ -194,6 +195,7 @@ public:
|
||||
{
|
||||
gr::thread::scoped_lock lock(d_setlock); // require mutex with work function called by the scheduler
|
||||
d_active = active;
|
||||
LOG(INFO) << "ACQ RESET";
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user