libstdc++
std::chrono Namespace Reference

Classes

Typedefs

Functions


Detailed Description

ISO C++ 0x entities sub namespace for time and date.


Typedef Documentation

typedef duration<int, ratio<3600> > std::chrono::hours

hours

Definition at line 519 of file chrono.

typedef duration<int64_t, micro> std::chrono::microseconds

microseconds

Definition at line 507 of file chrono.

typedef duration<int64_t, milli> std::chrono::milliseconds

milliseconds

Definition at line 510 of file chrono.

typedef duration<int, ratio< 60> > std::chrono::minutes

minutes

Definition at line 516 of file chrono.

typedef duration<int64_t, nano> std::chrono::nanoseconds

nanoseconds

Definition at line 504 of file chrono.

typedef duration<int64_t> std::chrono::seconds

seconds

Definition at line 513 of file chrono.


Function Documentation

template<typename _ToDur , typename _Rep , typename _Period >
constexpr enable_if<__is_duration<_ToDur>::value, _ToDur>::type std::chrono::duration_cast ( const duration< _Rep, _Period > &  __d)

duration_cast

Definition at line 173 of file chrono.

Referenced by std::this_thread::sleep_for().

template<typename _ToDur , typename _Clock , typename _Dur >
constexpr enable_if<__is_duration<_ToDur>::value, time_point<_Clock, _ToDur> >::type std::chrono::time_point_cast ( const time_point< _Clock, _Dur > &  __t)

time_point_cast

Definition at line 580 of file chrono.