MILLISECONDS_TO_100NANOSECONDS macro (sensorsutils.h)

This macro converts time, in milliseconds, to 100 nanosecond units.

Syntax

#define MILLISECONDS_TO_100NANOSECONDS(durationMs) ((durationMs) * 1000 * 10)

Parameters

durationMs

The duration in milliseconds to convert to 100 nanosecond units.

Return value

None

Remarks

Gets a ULONGLONG that represents a time length in nanoseconds.

Requirements

Requirement Value
Header sensorsutils.h

See also