std::chrono::steady_clock
De cppreference.com
|
|
This page has been machine-translated from the English version of the wiki using Google Translate.
The translation may contain errors and awkward wording. Hover over text to see the original version. You can help to fix errors and improve the translation. For instructions click here. |
| Defined in header <chrono>
|
||
| class steady_clock; |
(ya que 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.
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.
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
| (C++11) |
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) |
| (C++11) |
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) |