Open shadowtj opened 6 years ago
// Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!) // You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
typedef uint64_t Time; typedef uint32_t TimeMS; typedef uint64_t TimeUS;
typedef uint32_t Time; typedef uint32_t TimeMS; typedef uint64_t TimeUS; stoned van
How is the TimeMS and TimeUS ... UInt switched between 32 and 64bit time mode ?? If usging 32bit mode i expect uint32 in 32 bit modes and visa versa
// Define __GET_TIME_64BIT if you want to use large types for GetTime (takes more bandwidth when you transmit time though!) // You would want to do this if your system is going to run long enough to overflow the millisecond counter (over a month)
if __GET_TIME_64BIT==1
typedef uint64_t Time; typedef uint32_t TimeMS; typedef uint64_t TimeUS;
else
typedef uint32_t Time; typedef uint32_t TimeMS; typedef uint64_t TimeUS; stoned van
endif
How is the TimeMS and TimeUS ... UInt switched between 32 and 64bit time mode ?? If usging 32bit mode i expect uint32 in 32 bit modes and visa versa