mbgtools-lx
4.2.8
|
High resolution time including status and local time offset. More...
#include <pcpsdefs.h>
Data Fields | |
PCPS_TIME_STAMP | tstamp |
High resolution time stamp (UTC) More... | |
int32_t | utc_offs |
UTC offs [sec] (loc_time = tstamp + utc_offs) More... | |
PCPS_TIME_STATUS_X | status |
status bits, see PCPS_TIME_STATUS_FLAGS More... | |
PCPS_SIG_VAL | signal |
signal strength, see PCPS_SIG_VAL_DEFS, or capture input channel number More... | |
High resolution time including status and local time offset.
Used to read time with high resolution of fractions of seconds and more detailed information on the local time offset and status. Should be prefered over PCPS_TIME.
_pcps_has_hr_time checks whether the command PCPS_GIVE_TIME is supported to read a device's current time using this format.
Newer devices providing time capture input may also accept the PCPS_GIVE_UCAP_EVENT command to read user capture event times using this format. In this case, the "signal" field contains the number of the capture input line, e.g. 0 or 1. _pcps_has_ucap checks whether this is supported.
Definition at line 1085 of file pcpsdefs.h.
PCPS_SIG_VAL PCPS_HR_TIME::signal |
signal strength, see PCPS_SIG_VAL_DEFS, or capture input channel number
Definition at line 1090 of file pcpsdefs.h.
Referenced by mbg_print_hr_time(), mbg_set_current_process_affinity_to_cpu(), mbg_str_ucap(), and show_ucap_event().
PCPS_TIME_STATUS_X PCPS_HR_TIME::status |
status bits, see PCPS_TIME_STATUS_FLAGS
Definition at line 1089 of file pcpsdefs.h.
Referenced by do_mbgcmptime(), do_mbgsvctasks(), do_set_system_time_from_pcps_hr_time(), mbg_print_hr_time(), mbg_set_current_process_affinity_to_cpu(), mbg_snprint_hr_time(), mbg_snprint_hr_time_loc(), mbg_str_pcps_hr_time_raw(), mbg_str_pcps_hr_tstamp_loc(), pcps_tz_name_from_hr_time(), pcps_tz_name_hr_status(), show_time_and_status(), and show_ucap_event().
PCPS_TIME_STAMP PCPS_HR_TIME::tstamp |
High resolution time stamp (UTC)
Definition at line 1087 of file pcpsdefs.h.
Referenced by do_mbgcmptime(), do_mbggpscap(), do_set_system_time_from_pcps_hr_time(), get_htc_delta(), mbg_chk_time_info(), mbg_get_default_cycles_frequency_from_dev(), mbg_get_hr_time_comp(), mbg_print_hr_time(), mbg_set_current_process_affinity_to_cpu(), mbg_snprint_hr_time(), mbg_snprint_hr_time_loc(), mbg_str_pcps_hr_date_time_loc(), mbg_str_pcps_hr_date_time_utc(), mbg_str_pcps_hr_time_raw(), mbg_str_pcps_hr_tstamp_loc(), mbg_str_pcps_hr_tstamp_utc(), mbgclock_default_get_ucap_event(), setup_hr_time_cycles_from_timestamp_cycles(), show_hr_timestamp(), show_hr_timestamp_burst(), show_ucap_event(), and snprint_chk_time_info().
int32_t PCPS_HR_TIME::utc_offs |
UTC offs [sec] (loc_time = tstamp + utc_offs)
Definition at line 1088 of file pcpsdefs.h.
Referenced by mbg_set_current_process_affinity_to_cpu(), mbg_snprint_hr_time(), mbg_snprint_hr_time_loc(), mbg_str_pcps_hr_date_time_loc(), mbg_str_pcps_hr_time_offs(), and pcps_tz_name_from_hr_time().