Espaços nominais
Variantes
Acções

std::chrono::high_resolution_clock

Da cppreference.com
< cpp‎ | chrono

 
 
Biblioteca de utilitários
Digite apoio (basic types, RTTI, type traits)
Gerenciamento de memória dinâmica
De tratamento de erros
Utilidades do programa
Variadic funções
Data e hora
Objetos de função
(C++11)
Os operadores relacionais
Original:
Relational operators
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
rel_ops::operator!=
rel_ops::operator>
rel_ops::operator<=
rel_ops::operator>=
Pares e tuplas
Original:
Pairs and tuples
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
Troque, avançar e avançar
Original:
Swap, forward and move
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
(C++11)
(C++11)
(C++11)
 
 
std::chrono::high_resolution_clock
Funções de membro
Original:
Member functions
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
high_resolution_clock::now
 
Definido no cabeçalho <chrono>
class high_resolution_clock;
(desde C++11)
Classe std::chrono::high_resolution_clock representa o relógio com o menor período de carrapato disponível no sistema. Pode ser um apelido ou std::chrono::system_clock std::chrono::steady_clock, ou um relógio, uma entidade independente.
Original:
Class std::chrono::high_resolution_clock represents the clock with the smallest tick period available on the system. It may be an alias of std::chrono::system_clock or std::chrono::steady_clock, or a third, independent clock.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::high_resolution_clock cumpre os requisitos da TrivialClock.
Original:
std::chrono::high_resolution_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.

Í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]
true se o tempo entre os carrapatos é constante e as chamadas para os valores now retorno que aumentam de forma monótona
Original:
true if the time between ticks is constant and calls to now return values that increase monotonically
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 std::chrono::time_point que representa o valor actual do relógio
Original:
returns a std::chrono::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

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)
relógio monotônico que nunca vai ser ajustado
Original:
monotonic clock that will never be adjusted
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

(classe)