次の方法で共有


PerceptionTimestampHelper.FromSystemRelativeTargetTime(TimeSpan) メソッド

定義

システム相対 QueryPerformanceCounter (QPC) タイム ドメインで表される、指定されたシステム相対時間を対象とするタイムスタンプを取得します。

public:
 static PerceptionTimestamp ^ FromSystemRelativeTargetTime(TimeSpan targetTime);
 static PerceptionTimestamp FromSystemRelativeTargetTime(TimeSpan const& targetTime);
public static PerceptionTimestamp FromSystemRelativeTargetTime(System.TimeSpan targetTime);
function fromSystemRelativeTargetTime(targetTime)
Public Shared Function FromSystemRelativeTargetTime (targetTime As TimeSpan) As PerceptionTimestamp

パラメーター

targetTime
TimeSpan TimeSpan

タイムスタンプを使用してターゲットにする QPC 時間のシステム相対モーメント。

戻り値

タイムスタンプです。

Windows の要件

デバイス ファミリ
Windows 10, version 1809 (10.0.17763.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v7.0 で導入)

注釈

targetTime パラメーターは、100ns 間隔の QPC 時間を使用します。 QPC 時刻の詳細については、「 高解像度タイム スタンプの取得」を参照してください。

適用対象