diff --git a/lib/hooks/CMakeLists.txt b/lib/hooks/CMakeLists.txt index a569a4513..81a119618 100644 --- a/lib/hooks/CMakeLists.txt +++ b/lib/hooks/CMakeLists.txt @@ -24,7 +24,6 @@ set(HOOK_SRC average.cpp cast.cpp decimate.cpp - dft.cpp dp.cpp drop.cpp dump.cpp @@ -35,6 +34,7 @@ set(HOOK_SRC limit_rate.cpp limit_value.cpp ma.cpp + pmu_dft.cpp pps_ts.cpp print.cpp restart.cpp diff --git a/lib/hooks/dft.cpp b/lib/hooks/pmu_dft.cpp similarity index 98% rename from lib/hooks/dft.cpp rename to lib/hooks/pmu_dft.cpp index 7fcfc7a97..1d44e3442 100644 --- a/lib/hooks/dft.cpp +++ b/lib/hooks/pmu_dft.cpp @@ -41,7 +41,7 @@ namespace villas { namespace node { -class DftHook : public MultiSignalHook { +class PmuDftHook : public MultiSignalHook { protected: enum class PaddingType { @@ -125,7 +125,7 @@ protected: double angleUnitFactor; public: - DftHook(struct vpath *p, struct vnode *n, int fl, int prio, bool en = true) : + PmuDftHook(struct vpath *p, struct vnode *n, int fl, int prio, bool en = true) : MultiSignalHook(p, n, fl, prio, en), windowType(WindowType::NONE), paddingType(PaddingType::ZERO), @@ -555,7 +555,7 @@ public: /* Register hook */ static char n[] = "dft"; static char d[] = "This hook calculates the dft on a window"; -static HookPlugin p; +static HookPlugin p; } /* namespace node */ } /* namespace villas */