MATLAB XPC TARGET 4 - DEVICE DRIVERS User's Guide Page 111

  • Download
  • Add to my manuals
  • Print
  • Page
    / 111
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 110
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
Page view 110
1 2 ... 106 107 108 109 110 111

Comments to this Manuals

No comments