mbgtools-lx  4.2.8
MBG_TIME_INFO_HRT Struct Reference

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

#include <pcpsdev.h>

Data Fields

PCPS_HR_TIME_CYCLES ref_hr_time_cycles
 HR time read from the card, plus cycles. More...
 
MBG_SYS_TIME_CYCLES sys_time_cycles
 system time stamp plus associated cycles More...
 

Detailed Description

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

Used to let the kernel driver read the current system time plus the associated high resolution time 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.

This structure also contains the card's status information (e.g. sync status).

Definition at line 1418 of file pcpsdev.h.

Field Documentation

◆ ref_hr_time_cycles

PCPS_HR_TIME_CYCLES MBG_TIME_INFO_HRT::ref_hr_time_cycles

HR time read from the card, plus cycles.

Definition at line 1420 of file pcpsdev.h.

Referenced by do_mbgsvctasks(), ioctl_switch(), mbg_chk_time_info(), and snprint_chk_time_info().

◆ sys_time_cycles

MBG_SYS_TIME_CYCLES MBG_TIME_INFO_HRT::sys_time_cycles

system time stamp plus associated cycles

Definition at line 1421 of file pcpsdev.h.

Referenced by do_mbgsvctasks(), ioctl_switch(), and mbg_chk_time_info().


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