nidas v1.2.3
|
Note that a int64_t has the same size, 8 bytes, as a timeval32. More...
#include <irigclock.h>
Public Attributes | |
int64_t | irigt |
int64_t | unixt |
unsigned char | dummystatus |
unsigned char | status |
unsigned char | seqnum |
unsigned char | syncToggles |
unsigned char | clockAdjusts |
unsigned char | max100HzBacklog |
char | end [] |
Note that a int64_t has the same size, 8 bytes, as a timeval32.
In order to diffentiate this new IRIG sample type from a dsm_clock_data_2 we place a dummy status with a value of 0xff in the same location as status in dsm_clock_data_2. The size of the sample should be one byte larger then dsm_clock_data_2, and a status should never have the value 0xff. Note that these are archived in raw form, and so should have the same format, independent of machine type or kernel version. So we can't use timespec64, since the long tv_nsec member can be 8 or 4 bytes depending on the machine. Two timespec64s on a 32 bit machine may also be subject to alignment padding. So for samples we'll use int64_t.
unsigned char dsm_clock_data_3::clockAdjusts |
unsigned char dsm_clock_data_3::dummystatus |
char dsm_clock_data_3::end[] |
int64_t dsm_clock_data_3::irigt |
unsigned char dsm_clock_data_3::max100HzBacklog |
unsigned char dsm_clock_data_3::seqnum |
unsigned char dsm_clock_data_3::status |
Referenced by nidas::dynld::raf::IRIGSensor::getStatusPtr().
unsigned char dsm_clock_data_3::syncToggles |
int64_t dsm_clock_data_3::unixt |