std::chrono::steady_clock
Материал из cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Заголовочный файл <chrono>
|
||
| class steady_clock; |
(начиная с C++11) | |
Класс
std::chrono::steady_clock представляет собой монотонную часов. Моменты времени эти часы не может уменьшаться, как физическое время движется вперед. Эти часы не связано со временем стенные часы, и лучше всего подходит для измерения интервалов.Original:
Class
std::chrono::steady_clock represents a monotonic clock. The time points of this clock cannot decrease as physical time moves forward. This clock is not related to wall clock time, and is best suitable for measuring intervals.The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::steady_clock отвечает требованиям TrivialClock. Original:
std::chrono::steady_clock meets the requirements of TrivialClock. The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
You can help to correct and verify the translation. Click here for instructions.
Содержание |
[править] Член типов
| Член типа
Original: Member type The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
Definition |
rep
|
арифметического типа, представляющее количество клещей в продолжительности часов
Original: arithmetic type representing the number of ticks in the clock's duration The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
period
|
std::ratio тип, представляющий клеща период часов, в считанные секунды
Original: a std::ratio type representing the tick period of the clock, in seconds The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. |
duration
|
std::chrono::duration<rep, period> |
time_point
|
std::chrono::time_point<std::chrono::steady_clock> |
[править] Член постоянных
| bool is_steady [static] |
устойчивый флаг часы, всегда true Original: steady clock flag, always true The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static константа-член) |
[править] Член функций
| [static] |
возвращает time_point представляющий текущее значение часов Original: returns a time_point representing the current value of the clock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (public static функция-член) |
[править] См. также
| (C++11) |
Настенные часы время от общесистемного часов реального времени Original: wall clock time from the system-wide realtime clock The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) |
| (C++11) |
Часы с самым коротким периодом тик в наличии Original: the clock with the shortest tick period available The text has been machine-translated via Google Translate. You can help to correct and verify the translation. Click here for instructions. (класс) |