- 主页 [www.boost.org]
C++ representation of time duration, time point, and clocks
This package forms part of the Boost C++ Libraries collection.
The Boost.Chrono library provides:
* A means to represent time durations: managed by the genericduration class . Examples of time durations include days, minutes, seconds and nanoseconds, which can be represented with a fixed number of clock ticks per unit. All of these units of time duration are united with a generic interface by the duration facility.
* A type for representing points in time: time_point. A time_pointrepresents an epoch plus or minus a duration. The library leaves epochs unspecified. A time_point is associated with a clock.
* Several clocks, some of which may not be available on aparticular platform: system_clock, steady_clock and high_resolution_clock. A clock is a pairing of a time_point and duration, and a function which returns a time_point representing now.
To make the timing facilities more generally useful, Boost.Chrono provides a number of clocks that are thin wrappers around the operating system's time APIs, thereby allowing the extraction of wall clock time, user CPU time, system CPU time spent by the process:
* process_real_cpu_clock, captures wall clock CPU time spent by thecurrent process.
* process_user_cpu_clock, captures user-CPU timespent by the current process.
* process_system_cpu_clock, capturessystem-CPU time spent by the current process.
* A tuple-like classprocess_cpu_clock, that captures real, user-CPU, and system-CPU process times together.
* A thread_clock thread steady clock givingthe time spent by the current thread (when supported by a platform).
Lastly, Boost.Chrono includes typeof registration for duration and time_point to permit using emulated auto with C++03 compilers.
其他与 libboost-chrono1.49.0 有关的软件包
- dep: libboost-system1.49.0 (>= 1.49.0-1)
- Operating system (e.g. diagnostics support) library
- dep: libc6 (>= 2.13-28) [armhf]
- dep: libc6 (>= 2.2.5) [amd64]
- dep: libc6 (>= 2.3.5) [powerpc]
- dep: libc6 (>= 2.3.6-6~) [i386]
- dep: libc6 (>= 2.4) [armel, mips, mipsel, s390]
- dep: libc6 (>= 2.6) [sparc]
- dep: libgcc1 (>= 1:4.1.1) [除 armel, armhf]
- GCC 支持库
- dep: libgcc1 (>= 1:4.4.0) [armel, armhf]
- dep: libstdc++6 (>= 4.1.1) [除 armel, armhf]
- GNU 标准 C++ 库，第3版
- dep: libstdc++6 (>= 4.4.0) [armel, armhf]
- dep: libunwind7 [ia64]
- 用于检测程序中的函数调用链的库 - 运行时
|amd64||38.8 kB||98.0 kB||[文件列表]|
|armel||36.8 kB||92.0 kB||[文件列表]|
|armhf||36.2 kB||85.0 kB||[文件列表]|
|i386||38.4 kB||92.0 kB||[文件列表]|
|ia64||40.7 kB||113.0 kB||[文件列表]|
|kfreebsd-amd64||37.8 kB||64.0 kB||[文件列表]|
|kfreebsd-i386||37.9 kB||61.0 kB||[文件列表]|
|mips||38.0 kB||98.0 kB||[文件列表]|
|mipsel||37.5 kB||98.0 kB||[文件列表]|
|powerpc||38.5 kB||95.0 kB||[文件列表]|
|s390||38.1 kB||96.0 kB||[文件列表]|
|s390x||38.5 kB||100.0 kB||[文件列表]|
|sparc||37.3 kB||93.0 kB||[文件列表]|