mbgtools-lx  4.2.8
MBG_TIME_INFO_TSTAMP Struct Reference

High resolution device time stamp, system time, and associated cycles counts. More...

#include <pcpsdev.h>

Data Fields

PCPS_TIME_STAMP_CYCLES ref_tstamp_cycles
 HR timestamp from the card, plus cycles. More...
 
MBG_SYS_TIME_CYCLES sys_time_cycles
 system timestamp plus associated cycles More...
 

Detailed Description

High resolution device time stamp, system time, and associated cycles counts.

Used to let the kernel driver read the current system time plus the associated high resolution time stamp from a bus-level device as close as possible, and return the results to the caller which can then compute the time difference, taking into account the latencies determined from the cycles counts.

Since the card's time stamp is taken from the fast memory mapped registers this structure does not contain the card's status information (e.g. sync status).

Definition at line 1445 of file pcpsdev.h.

Field Documentation

◆ ref_tstamp_cycles

PCPS_TIME_STAMP_CYCLES MBG_TIME_INFO_TSTAMP::ref_tstamp_cycles

HR timestamp from the card, plus cycles.

Definition at line 1447 of file pcpsdev.h.

Referenced by ioctl_switch(), and mbg_chk_time_info().

◆ sys_time_cycles

MBG_SYS_TIME_CYCLES MBG_TIME_INFO_TSTAMP::sys_time_cycles

system timestamp plus associated cycles

Definition at line 1448 of file pcpsdev.h.

Referenced by ioctl_switch(), and mbg_chk_time_info().


The documentation for this struct was generated from the following file: