kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Duration.hpp
Go to the documentation of this file.
1#ifndef KOKKOS_UTILS_TIMER_DURATION_HPP
2#define KOKKOS_UTILS_TIMER_DURATION_HPP
3
4#include <chrono>
5
7{
8
12using microseconds = std::chrono::duration<double, std::micro>;
13
15using milliseconds = std::chrono::duration<double, std::milli>;
16
18using seconds = std::chrono::duration<double, std::ratio<1, 1>>;
20
21} // namespace Kokkos::utils::timer
22
23#endif // KOKKOS_UTILS_TIMER_DURATION_HPP
std::chrono::duration< double, std::ratio< 1, 1 > > seconds
Similar to std::chrono::seconds, but using double instead of an integer type to represent the tick co...
Definition Duration.hpp:18
std::chrono::duration< double, std::micro > microseconds
Definition Duration.hpp:12
std::chrono::duration< double, std::milli > milliseconds
Similar to std::chrono::milliseconds, but using double instead of an integer type to represent the ti...
Definition Duration.hpp:15