◐ Shell
clean mode source ↗

std::chrono::steady_clock - cppreference.com

De cppreference.com

<metanoindex/>

<tbody> </tbody>

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.

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.

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>

Constantes de membros

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)

Funções de membro

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)

Veja também

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)

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)