Espaces de noms
Variantes
Affichages
Actions

std::chrono::system_clock

De cppreference.com
< cpp‎ | chrono

Defined in header <chrono>
class system_clock;
(depuis C++11)
Classe std::chrono::system_clock représente l'ensemble du système horloge temps réel paroi moment .
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.
Il peut ne pas être monotone: la plupart des systèmes, l'heure du système peut être réglée à tout moment. Il est le seul C + + horloge qui a la capacité de cartographier ses moments de loi C-style temps, et, par conséquent, à afficher .
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 répond aux exigences de 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.

Sommaire

[modifier] Types de membres

Type du membre Définition
rep
type arithmétique signé représentant le nombre de tiques dans la durée de l'horloge
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
un type std::ratio représentant la période tic-tac de l'horloge, en quelques secondes
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>, capable de représenter des durées négatives
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
le type de point dans le temps de cette horloge, 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.

[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 tiques est constante et les valeurs de retour pour les appels now qui 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 le point courant dans le temps
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.

(fonction membre publique statique) [edit]
[
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.
]
convertit un point dans le temps système de l'horloge à 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.

(fonction membre publique statique) [edit]
[
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.
]
convertit std::time_t à un point dans le temps d'horloge système
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.

(fonction membre publique statique) [edit]

[modifier] Voir aussi

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)
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)