Espacios de nombres
Variantes
Acciones

std::chrono::steady_clock

De cppreference.com
< cpp‎ | chrono

 
 
Utilidades de la biblioteca
Escriba apoyo (basic types, RTTI, type traits)
Gestión de memoria dinámica
Gestión de errores
Programa de servicios públicos
Funciones variadic
Fecha y hora
Objetos Function
initializer_list(C++11)
bitset
hash(C++11)
Operadores relacionales
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 y 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)
Cambiar, hacia adelante y mover
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::steady_clock
Las funciones miembro
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.
steady_clock::now
 
Defined in header <chrono>
class steady_clock;
(desde C++11)
Clase std::chrono::steady_clock representa un reloj monotónica. Los puntos de tiempo de este reloj no puede disminuir a medida que el tiempo físico se mueve hacia adelante. Este reloj no está relacionada con el tiempo de reloj de pared, y es la más apropiada para los intervalos de medición .
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 cumple los requisitos de 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.

Contenido

[editar] Tipos de miembros

Miembro de tipo
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 aritmético que representa el número de garrapatas en la duración del reloj
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
un tipo std::ratio representa el periodo tic-tac del reloj, en 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 miembros

bool is_steady
[estático]
bandera reloj constante, siempre 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.

(público miembro constante estática)

[editar] Las funciones miembro

[estático]
devuelve un time_point que representa el valor actual del reloj
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.

(miembro estático público función)

[editar] Ver también

pared tiempo reloj desde el reloj en tiempo real de todo el sistema
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.

(clase)
el reloj con el período más corto garrapata disponible
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.

(clase)