Espaços nominais
Variantes
Acções

std::chrono::system_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
initializer_list(C++11)
bitset
hash(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.
pair
tuple(C++11)
piecewise_construct_t(C++11)
piecewise_construct(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.
swap
forward(C++11)
move(C++11)
move_if_noexcept(C++11)
declval(C++11)
 
 
std::chrono::system_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.
system_clock::now
system_clock::to_time_t
system_clock::from_time_t
 
Defined in header <chrono>
class system_clock;
(a partir do 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.

Í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
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.
You can help to correct and verify the translation. Click here for instructions.
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.
You can help to correct and verify the translation. Click here for instructions.
duration
std::chrono::duration<rep, period>, capaz de representar durações negativos
Original:
std::chrono::duration<rep, period>, capable of representing negative durations
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
time_point
o tipo de ponto este relógio do tempo, std::chrono::time_point<system_clock>
Original:
the type of this clock's time point, std::chrono::time_point<system_clock>
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.

[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]
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.
You can help to correct and verify the translation. Click here for instructions.

(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.
You can help to correct and verify the translation. Click here for instructions.

(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.
You can help to correct and verify the translation. Click here for instructions.

(função public static membro) [edit]

[editar] 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.
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)