- call sgtarcker stats
This commit is contained in:
Vendored
+59
-1
@@ -13,6 +13,64 @@
|
|||||||
"memory": "cpp",
|
"memory": "cpp",
|
||||||
"random": "cpp",
|
"random": "cpp",
|
||||||
"optional": "cpp",
|
"optional": "cpp",
|
||||||
"math.h": "c"
|
"math.h": "c",
|
||||||
|
"ratio": "cpp",
|
||||||
|
"system_error": "cpp",
|
||||||
|
"array": "cpp",
|
||||||
|
"functional": "cpp",
|
||||||
|
"tuple": "cpp",
|
||||||
|
"type_traits": "cpp",
|
||||||
|
"utility": "cpp",
|
||||||
|
"variant": "cpp",
|
||||||
|
"iostream": "cpp",
|
||||||
|
"cctype": "cpp",
|
||||||
|
"clocale": "cpp",
|
||||||
|
"cmath": "cpp",
|
||||||
|
"csignal": "cpp",
|
||||||
|
"cstdarg": "cpp",
|
||||||
|
"cstddef": "cpp",
|
||||||
|
"cstdio": "cpp",
|
||||||
|
"cstdlib": "cpp",
|
||||||
|
"cstring": "cpp",
|
||||||
|
"ctime": "cpp",
|
||||||
|
"cwchar": "cpp",
|
||||||
|
"cwctype": "cpp",
|
||||||
|
"atomic": "cpp",
|
||||||
|
"bit": "cpp",
|
||||||
|
"chrono": "cpp",
|
||||||
|
"cinttypes": "cpp",
|
||||||
|
"compare": "cpp",
|
||||||
|
"concepts": "cpp",
|
||||||
|
"condition_variable": "cpp",
|
||||||
|
"cstdint": "cpp",
|
||||||
|
"deque": "cpp",
|
||||||
|
"forward_list": "cpp",
|
||||||
|
"list": "cpp",
|
||||||
|
"map": "cpp",
|
||||||
|
"set": "cpp",
|
||||||
|
"unordered_set": "cpp",
|
||||||
|
"vector": "cpp",
|
||||||
|
"exception": "cpp",
|
||||||
|
"algorithm": "cpp",
|
||||||
|
"iterator": "cpp",
|
||||||
|
"memory_resource": "cpp",
|
||||||
|
"string": "cpp",
|
||||||
|
"string_view": "cpp",
|
||||||
|
"initializer_list": "cpp",
|
||||||
|
"iomanip": "cpp",
|
||||||
|
"iosfwd": "cpp",
|
||||||
|
"limits": "cpp",
|
||||||
|
"mutex": "cpp",
|
||||||
|
"new": "cpp",
|
||||||
|
"numbers": "cpp",
|
||||||
|
"ranges": "cpp",
|
||||||
|
"stdexcept": "cpp",
|
||||||
|
"stop_token": "cpp",
|
||||||
|
"streambuf": "cpp",
|
||||||
|
"thread": "cpp",
|
||||||
|
"cfenv": "cpp",
|
||||||
|
"typeindex": "cpp",
|
||||||
|
"typeinfo": "cpp",
|
||||||
|
"semaphore": "cpp"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
+14
-1
@@ -19,7 +19,7 @@ const uint32_t RCF_NUM_PHASES = 256; // RCF_TYPE_POLYPHASE_DISCRETE:
|
|||||||
|
|
||||||
const radio_float_t CPR_GAIN_LEAD_AQU = (radio_float_t)5.00E-5; // 3E-5
|
const radio_float_t CPR_GAIN_LEAD_AQU = (radio_float_t)5.00E-5; // 3E-5
|
||||||
const radio_float_t CPR_GAIN_LAG_AQU = (radio_float_t)0.40E-6; // 1E-6
|
const radio_float_t CPR_GAIN_LAG_AQU = (radio_float_t)0.40E-6; // 1E-6
|
||||||
const radio_float_t CPR_GAIN_LEAD_TRK = (radio_float_t)2.00E-6; // 1E-5
|
const radio_float_t CPR_GAIN_LEAD_TRK = (radio_float_t)2.00E-5; // 1E-5
|
||||||
const radio_float_t CPR_GAIN_LAG_TRK = (radio_float_t)1.00E-9; // 5E-7
|
const radio_float_t CPR_GAIN_LAG_TRK = (radio_float_t)1.00E-9; // 5E-7
|
||||||
|
|
||||||
const radio_float_t STR_GAIN_LEAD_AQU = (radio_float_t)4.00E-4; // 2E-3
|
const radio_float_t STR_GAIN_LEAD_AQU = (radio_float_t)4.00E-4; // 2E-3
|
||||||
@@ -54,6 +54,7 @@ Receiver::Receiver(LogHandler *pLogHandler)
|
|||||||
, m_pSymMapper(0)
|
, m_pSymMapper(0)
|
||||||
, m_tracker(1.0 - 5.0/EQ_UPD_INTERVAL)
|
, m_tracker(1.0 - 5.0/EQ_UPD_INTERVAL)
|
||||||
, m_is_slip(0)
|
, m_is_slip(0)
|
||||||
|
, m_slow_timer_counter(0)
|
||||||
{
|
{
|
||||||
m_params.numBitsPerSymbol = 2;
|
m_params.numBitsPerSymbol = 2;
|
||||||
m_params.samplerate = 48000;
|
m_params.samplerate = 48000;
|
||||||
@@ -349,6 +350,18 @@ void Receiver::timerCallback()
|
|||||||
m_statusListeners.call(&ReceiverStatusListener::receiverStatusChanged, this);
|
m_statusListeners.call(&ReceiverStatusListener::receiverStatusChanged, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
slowTimerCallback();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void Receiver::slowTimerCallback()
|
||||||
|
{
|
||||||
|
if (++m_slow_timer_counter == 10)
|
||||||
|
{
|
||||||
|
m_slow_timer_counter = 0;
|
||||||
|
cout << "------------------------------------------------------" << endl;
|
||||||
|
m_tracker.status_print();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void Receiver::processPassband(RVec const &rf, size_t len)
|
void Receiver::processPassband(RVec const &rf, size_t len)
|
||||||
|
|||||||
@@ -360,6 +360,10 @@ private:
|
|||||||
// Noise
|
// Noise
|
||||||
noise_gen_t m_noise;
|
noise_gen_t m_noise;
|
||||||
|
|
||||||
|
// Slow timer
|
||||||
|
size_t m_slow_timer_counter;
|
||||||
|
|
||||||
|
void slowTimerCallback();
|
||||||
void timerCallback();
|
void timerCallback();
|
||||||
void processBaseband(CVec const &iq, size_t len);
|
void processBaseband(CVec const &iq, size_t len);
|
||||||
void minMaxInit(minmax_t *pObj, radio_float_t min_initial, radio_float_t max_initial)
|
void minMaxInit(minmax_t *pObj, radio_float_t min_initial, radio_float_t max_initial)
|
||||||
|
|||||||
Reference in New Issue
Block a user