MILLISECONDS_FROM_100NANOSECONDS macro (sensorsutils.h)

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

Syntax

#define MILLISECONDS_FROM_100NANOSECONDS(durationNanoS) ((durationNanoS) / (1000 * 10))

Parameters

durationNanoS

The duration in 100 nanosecond units to convert to milliseconds.

Return value

None

Remarks

Gets a LONGLONG that represents a time length in milliseconds.

Requirements

Requirement Value
Header sensorsutils.h

See also