libstdc++
std::chrono Namespace Reference

Classes

struct  duration
 
struct  duration_values
 
struct  steady_clock
 
struct  system_clock
 
struct  time_point
 
struct  treat_as_floating_point
 

Typedefs

using high_resolution_clock = system_clock
 
using hours = duration< int64_t, ratio< 3600 > >
 
using microseconds = duration< int64_t, micro >
 
using milliseconds = duration< int64_t, milli >
 
using minutes = duration< int64_t, ratio< 60 > >
 
using nanoseconds = duration< int64_t, nano >
 
using seconds = duration< int64_t >
 

Functions

template<typename _ToDur , typename _Rep , typename _Period >
constexpr __enable_if_is_duration< _ToDur > duration_cast (const duration< _Rep, _Period > &__d)
 
template<typename _ToDur , typename _Clock , typename _Dur >
constexpr enable_if< __is_duration< _ToDur >::value, time_point< _Clock, _ToDur > >::type time_point_cast (const time_point< _Clock, _Dur > &__t)
 

Detailed Description

ISO C++ 2011 namespace for date and time utilities.