Gets the timestamp of a metric sample.
ADLX_RESULT TimeStamp (adlx_int64* ms)
[out]ms adlx_int64* The pointer to a variable where the timestamp (in ms) is returned.
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.
The timestamp is the duration (in ms) from the system epoch time to the time when the metric sample was acquired.