diff --git a/src/teqp_profile.cpp b/src/teqp_profile.cpp index 8ac432165af14821fa4b03cf1b3da04e3f974c27..be3f844c211e28231ec0ef2c07a0932102986b28 100644 --- a/src/teqp_profile.cpp +++ b/src/teqp_profile.cpp @@ -14,18 +14,6 @@ #include <Eigen/Dense> #include "teqp/derivs.hpp" -class Timer { -private: - int N; - decltype(std::chrono::steady_clock::now()) tic; -public: - Timer(int N) : N(N), tic(std::chrono::steady_clock::now()) {} - ~Timer() { - auto elap = std::chrono::duration<double>(std::chrono::steady_clock::now() - tic).count(); - std::cout << elap / N * 1e6 << " us/call" << std::endl; - } -}; - template <typename ModelContainer, typename T1, typename T2, typename T3> auto get_f(const ModelContainer& modcon, const T1& x1, const T2& x2, const T3& x3) { // Call the function with T, rho, molefrac arguments diff --git a/src/test_variant.cpp b/src/test_variant.cpp index bb557490e815693918771b23e5c34bb13cae12b8..3a5e8d3def2799f2b14be0998eb4eb6e95e0ed9c 100644 --- a/src/test_variant.cpp +++ b/src/test_variant.cpp @@ -15,18 +15,6 @@ #include "teqp/containers.hpp" #include <Eigen/Dense> -class Timer { -private: - int N; - decltype(std::chrono::steady_clock::now()) tic; -public: - Timer(int N) : N(N), tic(std::chrono::steady_clock::now()){} - ~Timer() { - auto elap = std::chrono::duration<double>(std::chrono::steady_clock::now()-tic).count(); - std::cout << elap/N*1e6 << " us/call" << std::endl; - } -}; - template <typename ModelContainer, typename T1, typename T2, typename T3> auto get_f(const ModelContainer &modcon, const T1& x1, const T2& x2, const T3& x3){ // The output type is the type promotion of T, rho, and molefrac