Rearrangements to the receive thread.
Magnitude conversion now happens immediately when sample data is received, so there is no risk of newly received data clobbering old data under CPU overload.
This commit is contained in:
parent
e6c81251bf
commit
15ea5ba3da
11 changed files with 234 additions and 160 deletions
4
stats.h
4
stats.h
|
|
@ -63,8 +63,8 @@ struct stats {
|
|||
// Mode A/C demodulator counts:
|
||||
uint32_t demod_modeac;
|
||||
|
||||
uint32_t blocks_processed;
|
||||
uint32_t blocks_dropped;
|
||||
uint64_t samples_processed;
|
||||
uint64_t samples_dropped;
|
||||
|
||||
// timing:
|
||||
struct timespec demod_cpu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue