Espaces de noms
Variantes
Affichages
Actions

std::chrono::high_resolution_clock

De cppreference.com
< cpp‎ | chrono

Déclaré dans l'en-tête <chrono>
class high_resolution_clock;
(depuis C++11)
std::chrono::high_resolution_clock classe représente la période d'horloge avec le plus petit saut disponible sur le système. Il peut être un alias de std::chrono::system_clock ou std::chrono::steady_clock, ou d'un tiers, horloge indépendante .
Original:
Class std::chrono::high_resolution_clock represents the clock with the smallest tick period available on the system. It may be an alias of std::chrono::system_clock or std::chrono::steady_clock, or a third, independent clock.
The text has been machine-translated via Google Translate.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::high_resolution_clock répond aux exigences de TrivialClock .
Original:
std::chrono::high_resolution_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 sauts unitaires effectués par 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, avec la seconde comme unité
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.
]
true si le temps entre les sauts est constant et les valeurs de retour des appels ànow augmentent de façon monotone
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.

(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 std::chrono::time_point représentant la valeur courante de l'horloge
Original:
returns a std::chrono::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 murale 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)
horloge monotone qui ne sera jamais réglée
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)