INtime SDK Help
hpe1588TimeDifference
INtime SDK v7 > About INtime > Networking and I/O > High-Performance Ethernet > hpe1588TimeDifference

Return the signed time difference between timeA and timeB in nanoseconds.

long long hpe1588TimeDifference(
    HPE_1588_TIMESTAMP *timeA, 
    HPE_1588_TIMESTAMP *timeB
);

Parameters

timeA
A pointer to a HPE_1588_TIMESTAMP structure.
timeB
A pointer to a HPE_1588_TIMESTAMP structure.

Return Values

The signed difference (timeA - timeB) in nanoseconds.

Requirements

Versions Defined in Include Link to
INtime 6.0 (HPE3) intime/rt/include/hpeif2.h hpeif2.h hpeif2.lib
See Also