Skip to Main Content Skip to Search
Product Documentation

xpcTime - Type definition of time structure

Prototype

typedef struct xpcTime64Struct{
    uint32_T NanoSecondsLo;
    uint32_T NanoSecondsHi;
} xpcTime64;

typedef union xpcTimeStruct{
    xpcTime64 U64;
    //uint64_T NanoSeconds;
} xpcTime;

Header File

xpctarget.h

Members

U64.NanoSecondsLo

Bottom 32 bits of 64-bit value.

U64.NanoSecondsHi

Top 32 bits of 64-bit value.

Description

The xPCTime structure holds the time value in nanoseconds, as a 64-bit integer. NanoSecondsLo and NanoSecondsHi hold the lower and upper 32 bits, respectively. The xpcGetElapsedTime and xpcSubtractTime functions use this structure to return time values.

See Also

xpcGetElapsedTime, xpcSubtractTime

  


Related Products & Applications

Learn more about Simulink through this collection of videos, articles, technical literature and the Getting Started with Simulink Guide.

 © 1984-2012- The MathWorks, Inc.    -   Site Help   -   Patents   -   Trademarks   -   Privacy Policy   -   Preventing Piracy   -   RSS