Namespaces | Typedefs
timestamps.hpp File Reference

Concrete type definitions for int32_t and int64_t timestamps in varying resolutions as durations since the UNIX epoch. More...

#include <cudf/utilities/export.hpp>
#include <cudf/wrappers/durations.hpp>

Go to the source code of this file.

Namespaces

 cudf
 cuDF interfaces
 

Typedefs

template<class Duration >
using cudf::detail::time_point = cuda::std::chrono::sys_time< Duration >
 Time point type.
 
template<class Duration >
using cudf::detail::timestamp = time_point< Duration >
 A wrapper around a column of time_point in varying resolutions. More...
 
using cudf::timestamp_D = detail::timestamp< cudf::duration_D >
 Type alias representing a cudf::duration_D (int32_t) since the unix epoch.
 
using cudf::timestamp_h = detail::timestamp< cudf::duration_h >
 Type alias representing a cudf::duration_h (int32_t) since the unix epoch.
 
using cudf::timestamp_m = detail::timestamp< cudf::duration_m >
 Type alias representing a cudf::duration_m (int32_t) since the unix epoch.
 
using cudf::timestamp_s = detail::timestamp< cudf::duration_s >
 Type alias representing a cudf::duration_s (int64_t) since the unix epoch.
 
using cudf::timestamp_ms = detail::timestamp< cudf::duration_ms >
 Type alias representing a cudf::duration_ms (int64_t) since the unix epoch.
 
using cudf::timestamp_us = detail::timestamp< cudf::duration_us >
 Type alias representing a cudf::duration_us (int64_t) since the unix epoch.
 
using cudf::timestamp_ns = detail::timestamp< cudf::duration_ns >
 Type alias representing a cudf::duration_ns (int64_t) since the unix epoch.
 

Detailed Description

Concrete type definitions for int32_t and int64_t timestamps in varying resolutions as durations since the UNIX epoch.

Definition in file timestamps.hpp.

Typedef Documentation

◆ timestamp

template<class Duration >
using cudf::detail::timestamp = typedef time_point<Duration>

A wrapper around a column of time_point in varying resolutions.

Template Parameters
DurationThe underlying duration type

Definition at line 39 of file timestamps.hpp.