Define TS_OVERFLOW_SHIFT

Define Documentation

TS_OVERFLOW_SHIFT

64bit timestamp support: since timestamps wrap around after some time, being only 31 bit (32 bit signed int), another timestamp at the packet level provides another 31 bit (32 bit signed int), to enable the generation of a 62 bit (64 bit signed int) microsecond timestamp which is guaranteed to never wrap around (in the next 146’138 years at least). The TSOverflow needs to be shifted by 31 thus when constructing such a timestamp.