Namespaces | |
| namespace | detail |
Classes | |
| struct | RtWorkCounts |
| A snapshot (or a difference of two snapshots) of the counted operations. More... | |
| class | RtWorkCounter |
| Measures the counted work done between construction and delta(). More... | |
Functions | |
| void | count_fft () noexcept |
| Record one FFT execution. | |
| void | count_trig (std::uint64_t n=1) noexcept |
| Record n transcendental evaluations. | |
| void | count_bins (std::uint64_t n) noexcept |
| Record n units of per-bin accumulation work. | |
| RtWorkCounts | work_counts () noexcept |
| Current process-wide totals. | |
| template<typename T> | |
| std::complex< T > | polar (T magnitude, T phase) noexcept |
| Counted std::polar. Bit-identical result. | |
| template<typename T> | |
| T | sin (T x) noexcept |
| Counted std::sin. Bit-identical result. | |
| template<typename T> | |
| T | cos (T x) noexcept |
| Counted std::cos. Bit-identical result. | |
| template<typename T> | |
| T | exp (T x) noexcept |
| Counted std::exp. Bit-identical result. | |
| template<typename T> | |
| T | arg (const std::complex< T > &z) noexcept |
| Counted std::arg (an atan2). Bit-identical result. | |
Variables | |
| constexpr bool | kWorkCountersEnabled = 0 != 0 |
| True when this build counts operations. | |
|
inlinenoexcept |
Counted std::arg (an atan2). Bit-identical result.
|
inlinenoexcept |
Counted std::cos. Bit-identical result.
|
inlinenoexcept |
Record n units of per-bin accumulation work.
|
inlinenoexcept |
Record one FFT execution.
|
inlinenoexcept |
Record n transcendental evaluations.
|
inlinenoexcept |
Counted std::exp. Bit-identical result.
|
inlinenoexcept |
Counted std::polar. Bit-identical result.
|
inlinenoexcept |
Counted std::sin. Bit-identical result.
|
inlinenoexcept |
Current process-wide totals.
Take one before and one after the work of interest and subtract.
|
inlineconstexpr |
True when this build counts operations.
A gate that reads counts must check this first: with counting compiled out every delta is zero, which would read as "no work" rather than "not measured".