std::chrono::system_clock - cppreference.com
De cppreference.com
<metanoindex/>
<tbody> </tbody>
| Definido no cabeçalho <chrono> |
||
|
|
(desde C++11) | |
Classe std::chrono::system_clock representa o todo o sistema de relógio de parede em tempo real.
Original:
Class std::chrono::system_clock represents the system-wide real time wall clock.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
Pode não ser monotónica: na maioria dos sistemas, o tempo do sistema pode ser ajustada em qualquer momento. É o único relógio de C + + que tem a capacidade para mapear os seus pontos de tempo ao estilo C, tempo e, portanto, a ser exibida.
Original:
It may not be monotonic: on most systems, the system time can be adjusted at any moment. It is the only C++ clock that has the ability to map its time points to C-style time, and, therefore, to be displayed.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::system_clock cumpre os requisitos da TrivialClock.
Original:
std::chrono::system_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. |
Definition |
rep
|
assinado tipo de aritmética que representa o número de carrapatos na duração do relógio Original: signed arithmetic type representing the number of ticks in the clock's duration The text has been machine-translated via Google Translate. |
period
|
um tipo de std::ratio representa o período tique-taque do relógio, em segundos Original: an std::ratio type representing the tick period of the clock, in seconds The text has been machine-translated via Google Translate. |
duration
|
Original:
The text has been machine-translated via Google Translate. |
time_point
|
o tipo de ponto este relógio do tempo, Original: the type of this clock's time point, The text has been machine-translated via Google Translate. |
Constantes de membros
Original:
The text has been machine-translated via Google Translate. (membro estático público constante) | |
Funções de membro
[estática] |
retorna um std::chrono::time_point representando o presente momento Original: returns a std::chrono::time_point representing the current point in time The text has been machine-translated via Google Translate. (função public static membro) [edit] |
[estática] |
converte um sistema de ponto relógio para std::time_t Original: converts a system clock time point to std::time_t The text has been machine-translated via Google Translate. (função public static membro) [edit] |
[estática] |
converte std::time_t a um ponto de tempo do relógio do sistema Original: converts std::time_t to a system clock time point The text has been machine-translated via Google Translate. (função public static membro) [edit] |
Veja também
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. (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. (classe) | |