44 #ifndef KOKKOS_TIMER_HPP
45 #define KOKKOS_TIMER_HPP
55 std::chrono::high_resolution_clock::time_point m_old;
62 m_old = std::chrono::high_resolution_clock::now();
72 double seconds()
const
74 std::chrono::high_resolution_clock::time_point m_new =
75 std::chrono::high_resolution_clock::now();
76 return std::chrono::duration_cast<std::chrono::duration<double>>(m_new - m_old).count();