名前空間
変種
操作

std::chrono::high_resolution_clock

提供: cppreference.com
< cpp‎ | chrono

Defined in header <chrono>
class high_resolution_clock;
(C++11およびそれ以降)
クラスstd::chrono::high_resolution_clockは、システム上で利用可能な最小の目盛り周期のクロックを表しています。それはstd::chrono::system_clockまたはstd::chrono::steady_clock、あるいは第三の独立したクロックの別名かもしれない.
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_clockTrivialClockの要件を満たしています.
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.

目次

[編集] メンバータイプ

メンバー·タイプ
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
時計の持続時間刻みの数を表す算術型
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
秒単位で時計の目盛り間隔を表すstd::ratioタイプ
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>

[編集] メンバー定数

bool is_steady
[静的]
trueティック間の時間が一定であるとnow単調に増加する値を返すように呼び出した場合
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.

(パブリック静的メンバ定数)

[編集] メンバ関数

[静的]
クロックの現在の値を表すstd::chrono::time_pointを返します
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.

(パブリック静的メンバ関数)

[編集] も参照してください

システム全体のリアルタイムクロックから壁時計時刻
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.

(クラス)
調整されることはありません単調なクロック
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.

(クラス)