Espaces de noms
Variantes
Affichages
Actions

std::chrono::steady_clock

De cppreference.com
< cpp‎ | chrono

Defined in header <chrono>
class steady_clock;
(depuis C++11)
std::chrono::steady_clock classe représente une horloge monotone. Les points dans le temps de cette horloge ne peut pas diminuer à mesure que le temps physique va de l'avant. Cette horloge n'est pas liée au temps horloge murale, et est le mieux adapté pour les intervalles de mesure .
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 répond aux exigences 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.

Sommaire

[modifier] Types de membres

Type du membre Définition
rep
type arithmétique représentant le nombre de graduations de la durée de l'horloge
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 type std::ratio représentant la période tic-tac de l'horloge, en quelques secondes
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>

[modifier] Constantes membres

bool is_steady
[
statique
Original:
static
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
]
drapeau horloge stable, toujours 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.

(constante membre statique publique)

[modifier] Fonctions membres

[
statique
Original:
static
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
]
retourne un time_point représentant la valeur actuelle de l'horloge
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.

(fonction membre publique statique)

[modifier] Voir aussi

temps d'horloge à partir de la paroi de l'ensemble du système d'horloge en temps réel
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)
l'horloge avec la période la plus courte tiques disponibles
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)