summaryrefslogtreecommitdiff
path: root/gr-digital/lib/simple_correlator_impl.h
Commit message (Collapse)AuthorAgeFilesLines
* digital: remove simple_{correlator,framer}Josh Morman2021-04-211-84/+0
| | | | Signed-off-by: Josh Morman <jmorman@perspectalabs.com>
* digital/simple_correlator: Remove manual memory managementThomas Habets2021-03-011-11/+11
| | | | Signed-off-by: Thomas Habets <thomas@habets.se>
* digital: Simple correlator debug not based on writing to file but loggerMarcus Müller2021-02-181-4/+1
| | | | Signed-off-by: Marcus Müller <mmueller@gnuradio.org>
* modernization: `override` instead of virtual in all compilation unitsMarcus Müller2020-11-031-1/+1
|
* Add `override` for common virtual function overridesThomas Habets2020-11-031-1/+1
| | | | | | | | | | Mostly done with: ``` find -name "*_impl.h" | xargs sed -i -r '/(void forecast|int work|int general_work|bool check_topology)\(/{:back /\)/b nxt;N;b back;:nxt s/\)$|\)(;)/) override\1/g}' ``` Then I removed an incorrect `work` that this found.
* Update license header to SPDX formatdevnulling2020-01-271-13/+1
|
* Replace many `const` variables with `constexpr`Thomas Habets2020-01-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | constexpr is like const but (for variables) guarantees evaluation at compile time (as opposed to runtime). Likely this change will do nothing on its own (though it could, since it gives the compiler more information). But it still has benefits. It allows programmer to know that initialization is not expensive (it was done at compile time), and reduces risk of a refactoring regressing the compiletimeness. Runtime initialization can be nonobvious in larger codebases. E.g.: struct S { static int foo(); }; const int bar = S::foo(); // Called and initialized at *runtime*. int S::foo() { return 10; } With constexpr: struct S { static constexpr int foo(); }; constexpr int bar = S::foo(); // Error: used before definition. constexpr int S::foo() { return 10; } Initializing at runtime is not just startup costs, but also can save memory since it'll end up in a R/O section of a binary and therefore doesn't need to be swapped out, but can be shared (in the mmap() sense of the word).
* Tree: clang-format without the include sortingMarcus Müller2019-08-091-52/+49
|
* digital: moved include dir to gnuradio/digitalJohnathan Corgan2013-04-291-1/+1
|
* Merge branch 'master' into nextTom Rondeau2013-02-201-0/+102
Conflicts: gr-digital/include/CMakeLists.txt gr-digital/lib/CMakeLists.txt gr-digital/swig/CMakeLists.txt gr-digital/swig/digital_swig.i