PerceptionTimestampHelper.FromSystemRelativeTargetTime(TimeSpan) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a timestamp that targets the specified system-relative time, represented in the system-relative QueryPerformanceCounter (QPC) time domain.
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
Parameters
Returns
The timestamp.
Windows requirements
Device family |
Windows 10, version 1809 (introduced in 10.0.17763.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v7.0)
|
Remarks
The targetTime parameter uses 100ns interval QPC time. For more information on QPC time, see Acquiring high-resolution time stamps.