Linux Kernel
3.7.1
|
#include <firewire-cdev.h>
Data Fields | |
__s64 | tv_sec |
__s32 | tv_nsec |
__s32 | clk_id |
__u32 | cycle_timer |
struct fw_cdev_get_cycle_timer2 - read cycle timer register : system time, seconds : system time, sub-seconds part in nanoseconds : input parameter, clock from which to get the system time : Cycle Time register contents
The FW_CDEV_IOC_GET_CYCLE_TIMER2 ioctl reads the isochronous cycle timer and also the system clock. This allows to correlate reception time of isochronous packets with system time.
lets you choose a clock like with POSIX' clock_gettime function. Supported values are POSIX' CLOCK_REALTIME and CLOCK_MONOTONIC and Linux' CLOCK_MONOTONIC_RAW.
consists of 7 bits cycleSeconds, 13 bits cycleCount, and 12 bits cycleOffset, in host byte order. Cf. the Cycle Time register per IEEE 1394 or Isochronous Cycle Timer register per OHCI-1394.
Definition at line 917 of file firewire-cdev.h.
__s32 clk_id |
Definition at line 920 of file firewire-cdev.h.
__u32 cycle_timer |
Definition at line 921 of file firewire-cdev.h.
__s32 tv_nsec |
Definition at line 919 of file firewire-cdev.h.
__s64 tv_sec |
Definition at line 918 of file firewire-cdev.h.