std::chrono::steady_clock
Da 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. |
Definido no cabeçalho <chrono>
|
||
class steady_clock; |
(desde C++11) | |
Classe
std::chrono::steady_clock
representa um relógio monótona. Os pontos de tempo deste relógio não pode diminuir à medida que o tempo avança físico. Este relógio não é relacionado a tempo de relógio, e é mais adequado para intervalos de medição.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
cumpre os requisitos da 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.
Índice |
[editar] Tipos de membro
Tipo de membro
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
|
Tipo de aritmética que representa o número de carrapatos na duração do relógio
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
|
um tipo std::ratio representa o período tique-taque do relógio, em segundos
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> |
[editar] Constantes de membros
bool is_steady [estática] |
bandeira relógio constante, sempre 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. (membro estático público constante) |
[editar] Funções de membro
[estática] |
devolve uma time_point que representa o valor actual do relógio 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. (função public static membro) |
[editar] Veja também
(C++11) |
tempo de relógio do relógio do sistema à escala em tempo real 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. (classe) |
(C++11) |
o relógio com o menor período de carrapato disponível 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. (classe) |