std::chrono::high_resolution_clock
Da cppreference.com.
![]() | Questa pagina è stata tradotta in modo automatico dalla versione in ineglese della wiki usando Google Translate. La traduzione potrebbe contenere errori e termini strani. Muovi il puntatore sopra al testo per vedere la versione originale. Puoi aiutarci a correggere gli gli errori. Per ulteriori istruzioni clicca qui. |
Elemento definito nell'header <chrono> | ||
class high_resolution_clock; | (dal C++11) | |
Classe
std::chrono::high_resolution_clock
rappresenta il clock con il periodo minimo tick disponibile sul sistema. Può essere un alias di std::chrono::system_clock o std::chrono::steady_clock, o un terzo, orologio indipendente.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.
You can help to correct and verify the translation. Click here for instructions.
std::chrono::high_resolution_clock
soddisfi i requisiti di 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.
You can help to correct and verify the translation. Click here for instructions.
Indice |
[modifica]Membri tipi
Membro 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 aritmetico che rappresenta il numero di segni di graduazione nel tempo dell'orologio 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 che rappresenta il periodo std::ratio battito dell'orologio, in pochi secondi 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> |
[modifica]Membri costanti
bool is_steady [statico] | true se il tempo tra zecche è costante e chiama a valori restituiti now che aumentano monotonicamente 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. (pubblico membro statico costante) |
[modifica]Membri funzioni
[statico] | restituisce un std::chrono::time_point rappresenta il valore corrente dell'orologio 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. (metodo pubblico statico) |
[modifica]Vedi anche
(C++11) | orologio da parete dal livello di sistema orologio in tempo reale 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) |
(C++11) | orologio monotona che non verrà mai modificato 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) |