From 12c2911c0b2befa5db9aebac49be143b7212bcea Mon Sep 17 00:00:00 2001 From: Josh Bailey Date: Mon, 5 Feb 2024 05:09:32 +0000 Subject: [PATCH] rx_time lost precision. --- lib/retune_fft_impl.cc | 2 +- lib/retune_fft_impl.h | 2 +- lib/retune_pre_fft_impl.cc | 2 +- lib/retune_pre_fft_impl.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/retune_fft_impl.cc b/lib/retune_fft_impl.cc index 4af70739..80a7a60a 100644 --- a/lib/retune_fft_impl.cc +++ b/lib/retune_fft_impl.cc @@ -351,7 +351,7 @@ void retune_fft_impl::sum_items_(const input_type *in) { } } -void retune_fft_impl::add_output_tags_(uint64_t rx_time, double rx_freq, +void retune_fft_impl::add_output_tags_(double rx_time, double rx_freq, size_t rel) { std::stringstream str; str << name() << unique_id(); diff --git a/lib/retune_fft_impl.h b/lib/retune_fft_impl.h index 031714db..90a89ade 100644 --- a/lib/retune_fft_impl.h +++ b/lib/retune_fft_impl.h @@ -227,7 +227,7 @@ class retune_fft_impl : public retune_fft, base_impl, retuner_impl { void sum_items_(const input_type *in); void reset_items_(); void calc_peaks_(); - void add_output_tags_(uint64_t rx_time, double rx_freq, size_t produced); + void add_output_tags_(double rx_time, double rx_freq, size_t produced); void process_items_(size_t c, const input_type *&in, const input_type *&fft_output, size_t &produced); void output_buckets_(const std::string &name, diff --git a/lib/retune_pre_fft_impl.cc b/lib/retune_pre_fft_impl.cc index a0e0844c..df3c0a08 100644 --- a/lib/retune_pre_fft_impl.cc +++ b/lib/retune_pre_fft_impl.cc @@ -262,7 +262,7 @@ void retune_pre_fft_impl::retune_now_() { } } -void retune_pre_fft_impl::add_output_tags_(uint64_t rx_time, double rx_freq, +void retune_pre_fft_impl::add_output_tags_(double rx_time, double rx_freq, size_t rel) { std::stringstream str; str << name() << unique_id(); diff --git a/lib/retune_pre_fft_impl.h b/lib/retune_pre_fft_impl.h index aaf293c7..e7693179 100644 --- a/lib/retune_pre_fft_impl.h +++ b/lib/retune_pre_fft_impl.h @@ -222,7 +222,7 @@ class retune_pre_fft_impl : public retune_pre_fft, base_impl, retuner_impl { bool all_zeros_(const block_type *&in); void process_items_(size_t c, const block_type *&in, const block_type *&out, size_t &produced); - void add_output_tags_(uint64_t rx_time, double rx_freq, size_t rel); + void add_output_tags_(double rx_time, double rx_freq, size_t rel); size_t nfft_; size_t fft_batch_size_;