TimeStamp 

Gets the timestamp of a system metric sample.

Syntax 

ADLX_RESULT     TimeStamp (adlx_int64* ms)

Parameters 

  1. [out] ms adlx_int64* The pointer to a variable where the timestamp (in ms) is returned.

Return Value 

If the timestamp is successfully returned, ADLX_OK is returned.

If the timestamp is not successfully returned, an error code is returned.

Refer to ADLX_RESULT for success codes and error codes.

Remarks 

The timestamp is the duration (in ms) from the system epoch time to the time when the metric sample was acquired.

Requirements 

Header

include “IPerformanceMonitoring.h”

Minimum version

1.0