Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 925addbd8a26
Choose a base ref
...
head repository: ngscopeclient/scopehal
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 45cb126e0250
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Dec 19, 2020

  1. Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    45cb126 View commit details
Showing with 0 additions and 11 deletions.
  1. +0 −11 scopeprotocols/FIRFilter.cpp
11 changes: 0 additions & 11 deletions scopeprotocols/FIRFilter.cpp
Original file line number Diff line number Diff line change
@@ -251,8 +251,6 @@ void FIRFilter::DoFilterKernel(
float& vmin,
float& vmax)
{
double tstart = GetTime();

#ifdef HAVE_OPENCL
if(g_clContext && m_kernel)
DoFilterKernelOpenCL(coefficients, din, cap, vmin, vmax);
@@ -265,15 +263,6 @@ void FIRFilter::DoFilterKernel(
DoFilterKernelAVX2(coefficients, din, cap, vmin, vmax);
else
DoFilterKernelGeneric(coefficients, din, cap, vmin, vmax);

double dt = GetTime() - tstart;

static double total = 0;
static double count = 0;
total += dt;
count ++;

LogDebug("FIRFilter::DoFilterKernel avg %f ms\n", total * 1000 / count);
}

#ifdef HAVE_OPENCL