kokkos-utils 0.0.1
 
Loading...
Searching...
No Matches
Kokkos::utils::timer Namespace Reference

Classes

struct  Event
 Event. More...
 
struct  Event< Kokkos::Cuda >
 
struct  Event< Kokkos::HIP >
 
class  Timer
 Measure elapsed time between events. More...
 

Typedefs

Helper types to represent time durations.
using microseconds = std::chrono::duration<double, std::micro>
 
using milliseconds = std::chrono::duration<double, std::milli>
 Similar to std::chrono::milliseconds, but using double instead of an integer type to represent the tick count.
 
using seconds = std::chrono::duration<double, std::ratio<1, 1>>
 Similar to std::chrono::seconds, but using double instead of an integer type to represent the tick count.
 

Typedef Documentation

◆ microseconds

using Kokkos::utils::timer::microseconds = std::chrono::duration<double, std::micro>

Similar to std::chrono::microseconds, but using double instead of an integer type to represent the tick count.

Definition at line 12 of file Duration.hpp.

◆ milliseconds

using Kokkos::utils::timer::milliseconds = std::chrono::duration<double, std::milli>

Similar to std::chrono::milliseconds, but using double instead of an integer type to represent the tick count.

Definition at line 15 of file Duration.hpp.

◆ seconds

using Kokkos::utils::timer::seconds = std::chrono::duration<double, std::ratio<1, 1>>

Similar to std::chrono::seconds, but using double instead of an integer type to represent the tick count.

Definition at line 18 of file Duration.hpp.