.TH "std::chrono" 3cxx "Thu Aug 2 2012" "libstdc++" \" -*- nroff -*- .ad l .nh .SH NAME std::chrono \- .SH SYNOPSIS .br .PP .SS "Classes" .in +1c .ti -1c .RI "struct \fBduration\fP" .br .RI "\fIduration \fP" .ti -1c .RI "struct \fBduration_values\fP" .br .RI "\fI\fBduration_values\fP \fP" .ti -1c .RI "struct \fBsystem_clock\fP" .br .RI "\fI\fBsystem_clock\fP \fP" .ti -1c .RI "struct \fBtime_point\fP" .br .RI "\fI\fBtime_point\fP \fP" .ti -1c .RI "struct \fBtreat_as_floating_point\fP" .br .RI "\fI\fBtreat_as_floating_point\fP \fP" .in -1c .SS "Typedefs" .in +1c .ti -1c .RI "typedef \fBsystem_clock\fP \fBhigh_resolution_clock\fP" .br .ti -1c .RI "typedef \fBduration\fP< int, \fBratio\fP< 3600 > > \fBhours\fP" .br .ti -1c .RI "typedef \fBduration\fP< int64_t, \fBmicro\fP > \fBmicroseconds\fP" .br .ti -1c .RI "typedef \fBduration\fP< int64_t, \fBmilli\fP > \fBmilliseconds\fP" .br .ti -1c .RI "typedef \fBduration\fP< int, \fBratio\fP< 60 > > \fBminutes\fP" .br .ti -1c .RI "typedef \fBsystem_clock\fP \fBmonotonic_clock\fP" .br .ti -1c .RI "typedef \fBduration\fP< int64_t, \fBnano\fP > \fBnanoseconds\fP" .br .ti -1c .RI "typedef \fBduration\fP< int64_t > \fBseconds\fP" .br .in -1c .SS "Functions" .in +1c .ti -1c .RI "template _ToDuration \fBduration_cast\fP (const \fBduration\fP< _Rep, _Period > &__d)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator!=\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template \fBduration\fP< typename common_type .br < _Rep1, _Rep2 >::type, .br _Period > \fBoperator*\fP (const \fBduration\fP< _Rep1, _Period > &__d, const _Rep2 &__s)" .br .ti -1c .RI "template \fBduration\fP< typename common_type .br < _Rep1, _Rep2 >::type, .br _Period > \fBoperator*\fP (const _Rep2 &__s, const \fBduration\fP< _Rep1, _Period > &__d)" .br .ti -1c .RI "template common_type< \fBduration\fP< _Rep1, .br _Period1 >, \fBduration\fP< _Rep2, .br _Period2 > >::type \fBoperator+\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template \fBtime_point\fP< _Clock, typename .br common_type< _Duration1, .br \fBduration\fP< _Rep2, _Period2 > .br >::type > \fBoperator+\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template \fBtime_point\fP< _Clock, typename .br common_type< \fBduration\fP< _Rep1, .br _Period1 >, _Duration2 >::type > \fBoperator+\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template common_type< \fBduration\fP< _Rep1, .br _Period1 >, \fBduration\fP< _Rep2, .br _Period2 > >::type \fBoperator-\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template \fBtime_point\fP< _Clock, typename .br common_type< _Duration1, .br \fBduration\fP< _Rep2, _Period2 > .br >::type > \fBoperator-\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template common_type< _Duration1, .br _Duration2 >::type \fBoperator-\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template __division_impl< \fBduration\fP .br < _Rep, _Period >, _Up >::__rt \fBoperator/\fP (const \fBduration\fP< _Rep, _Period > &__d, const _Up &__u)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator<=\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator==\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBduration\fP< _Rep1, _Period1 > &__lhs, const \fBduration\fP< _Rep2, _Period2 > &__rhs)" .br .ti -1c .RI "template bool \fBoperator>=\fP (const \fBtime_point\fP< _Clock, _Duration1 > &__lhs, const \fBtime_point\fP< _Clock, _Duration2 > &__rhs)" .br .ti -1c .RI "template \fBtime_point\fP< _Clock, _ToDuration > \fBtime_point_cast\fP (const \fBtime_point\fP< _Clock, _Duration > &__t)" .br .in -1c .SH "Detailed Description" .PP ISO C++ 0x entities sub namespace for time and date\&. .SH "Typedef Documentation" .PP .SS "typedef \fBduration\fP > \fBstd::chrono::hours\fP" .PP hours .PP Definition at line 461 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::microseconds\fP" .PP microseconds .PP Definition at line 449 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::milliseconds\fP" .PP milliseconds .PP Definition at line 452 of file chrono\&. .SS "typedef \fBduration\fP > \fBstd::chrono::minutes\fP" .PP minutes .PP Definition at line 458 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::nanoseconds\fP" .PP nanoseconds .PP Definition at line 446 of file chrono\&. .SS "typedef \fBduration\fP \fBstd::chrono::seconds\fP" .PP seconds .PP Definition at line 455 of file chrono\&. .SH "Function Documentation" .PP .SS "template _ToDuration std::chrono::duration_cast (const duration< _Rep, _Period > &__d)\fC [inline]\fP" .PP duration_cast .PP Definition at line 144 of file chrono\&. .PP Referenced by std::this_thread::sleep_for(), and time_point_cast()\&. .SS "template \fBtime_point\fP<_Clock, _ToDuration> std::chrono::time_point_cast (const time_point< _Clock, _Duration > &__t)\fC [inline]\fP" .PP time_point_cast .PP Definition at line 522 of file chrono\&. .PP References duration_cast()\&. .SH "Author" .PP Generated automatically by Doxygen for libstdc++ from the source code\&.