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 nanoseconds = std::chrono::duration<double, std::nano>;
13
15using microseconds = std::chrono::duration<double, std::micro>;
16
18using milliseconds = std::chrono::duration<double, std::milli>;
19
21using seconds = std::chrono::duration<double, std::ratio<1, 1>>;
23
24} // namespace Kokkos::utils::timer
25
26#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:21
std::chrono::duration< double, std::micro > microseconds
Similar to std::chrono::microseconds, but using double instead of an integer type to represent the ti...
Definition Duration.hpp:15
std::chrono::duration< double, std::nano > nanoseconds
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:18