Namensräume
Varianten
Aktionen

std::chrono::system_clock

Aus cppreference.com
< cpp‎ | chrono

Defined in header <chrono>
class system_clock;
(seit C++11)
Klasse std::chrono::system_clock stellt das System-weite Echtzeit-Wanduhr .
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.
Es ist möglicherweise nicht monotone: bei den meisten Systemen, die Systemzeit kann jederzeit eingestellt werden. Es ist die einzige C + + Uhr, die die Fähigkeit, ihre Zeitpunkte C-Format Zeitpunkt abzubilden, und daher anzuzeigenden hat .
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 erfüllt die Anforderungen der 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.

Inhaltsverzeichnis

[Bearbeiten] Mitglied Typen

Mitglied Typ
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
unterzeichnet arithmetischen Typ, der die Anzahl der Zecken in der Uhr Dauer
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
ein std::ratio Typ, der die Zecke Periode des Taktes, in Sekunden
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>, der fähig ist, der für negative Laufzeiten
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
Der Typ dieser Uhr ist Zeitpunkt, 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.

[Bearbeiten] Mitglied Konstanten

bool is_steady
[statisch]
true wenn die Zeit zwischen Zecken ist konstant und ruft now Rückgabewerte, die monoton
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.

(public static Mitglied konstanten)

[Bearbeiten] Member-Funktionen

[statisch]
gibt einen std::chrono::time_point, die den aktuellen Zeitpunkt
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.

(public static Elementfunktion) [edit]
[statisch]
wandelt eine Systemuhr Zeitpunkt, um 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.

(public static Elementfunktion) [edit]
[statisch]
wandelt std::time_t einem Systemtakt Zeitpunkt
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.

(public static Elementfunktion) [edit]

[Bearbeiten] Siehe auch

monotone Uhr, wird niemals angepasst
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.

(Klasse)
die Uhr mit der kürzesten Tick Zeitraum zur Verfügung
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.

(Klasse)