NVIDIA DriveOS Linux SDK API Reference

7.2.5.0 Early Access Release

Detailed Description

Structure to hold primary PTP & kernel timestamps.

Contains kernel and hardware PTP timestamps. Used with NVPPS_GETTIMESTAMP IOCTL.

Definition at line 361 of file nvpps_ioctl.h.

Collaboration diagram for nvpps_timestamp_struct:

Data Fields

clockid_t clockid
 Input: Kernel clock source identifier. More...
 
struct timespec64 kernel_ts
 Output: Kernel timestamp. More...
 
struct timespec64 hw_ptp_ts
 Output: Hardware PTP timestamp. More...
 
__u64 extra [2]
 Reserved for future use. More...
 

Field Documentation

◆ clockid

clockid_t nvpps_timestamp_struct::clockid

Input: Kernel clock source identifier.

Valid values include CLOCK_MONOTONIC or CLOCK_REALTIME (defined by linux kernel)

Definition at line 362 of file nvpps_ioctl.h.

◆ extra

__u64 nvpps_timestamp_struct::extra[2]

Reserved for future use.

Definition at line 365 of file nvpps_ioctl.h.

◆ hw_ptp_ts

struct timespec64 nvpps_timestamp_struct::hw_ptp_ts

Output: Hardware PTP timestamp.

Definition at line 364 of file nvpps_ioctl.h.

◆ kernel_ts

struct timespec64 nvpps_timestamp_struct::kernel_ts

Output: Kernel timestamp.

Definition at line 363 of file nvpps_ioctl.h.


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