xpcSubtractTime
Purpose Return differe n ce between two times
Prototype real_T x pcSubtractTime(xpcTime *time,
const xpcTime *time2, const xpcTime *time1)
Arguments
time
Pointer to an xpcTime structure.
time2
Enter the time to subtract.
time1
Enter the time to subtract from.
Description xpcSubtractTime returns the difference between time1 and time2
(time2 - time1), in seconds. You can get this time in nanoseconds by
passing a pointer to a previous ly allocated
xpcTime structure. You can
pass a NULL pointer for the
time argument if you do no t wa nt the
time in nanoseconds.
See Also xpcTime, xpcGetElapsedTime
11-13
Comments to this Manuals