mbgtools-lx
4.2.8
|
Go to the source code of this file.
Macros | |
#define | MBG_FIRST_COPYRIGHT_YEAR 2007 |
#define | MBG_LAST_COPYRIGHT_YEAR 0 |
#define | MAX_TS_BURST 1000 |
Functions | |
static int | show_fast_hr_timestamp (MBG_DEV_HANDLE dh) |
static int | show_fast_hr_timestamp_burst (MBG_DEV_HANDLE dh) |
static int | do_mbgfasttstamp (MBG_DEV_HANDLE dh, const PCPS_DEV *p_dev) |
static void | usage (void) |
int | main (int argc, char *argv[]) |
Variables | |
static const char * | pname = "mbgfasttstamp" |
static int | loops |
static int | burst_read |
static int | read_raw |
static long | sleep_secs |
static long | sleep_usecs |
static MBG_DEV_HANDLER_FNC | do_mbgfasttstamp |
#define MAX_TS_BURST 1000 |
Definition at line 61 of file mbgfasttstamp.c.
Referenced by show_fast_hr_timestamp_burst().
#define MBG_FIRST_COPYRIGHT_YEAR 2007 |
Definition at line 55 of file mbgfasttstamp.c.
Referenced by main().
#define MBG_LAST_COPYRIGHT_YEAR 0 |
Definition at line 56 of file mbgfasttstamp.c.
Referenced by main().
|
static |
Definition at line 164 of file mbgfasttstamp.c.
References burst_read, mbg_chk_dev_has_fast_hr_timestamp, mbg_cond_err_msg_info(), mbg_rc_is_error, MBG_SUCCESS, show_fast_hr_timestamp(), and show_fast_hr_timestamp_burst().
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 211 of file mbgfasttstamp.c.
References burst_read, do_mbgfasttstamp, loops, MBG_EXIT_CODE_FAIL, MBG_EXIT_CODE_SUCCESS, MBG_EXIT_CODE_USAGE, MBG_FIRST_COPYRIGHT_YEAR, mbg_handle_devices(), MBG_LAST_COPYRIGHT_YEAR, mbg_print_program_info(), mbg_rc_is_success, must_print_usage, pname, read_raw, sleep_secs, sleep_usecs, and usage().
|
static |
Definition at line 77 of file mbgfasttstamp.c.
References loops, mbg_cond_err_msg(), mbg_get_fast_hr_timestamp(), mbg_get_fast_hr_timestamp_comp(), mbg_print_hr_timestamp(), MBG_SUCCESS, read_raw, sleep_secs, and sleep_usecs.
Referenced by do_mbgfasttstamp().
|
static |
Definition at line 122 of file mbgfasttstamp.c.
References loops, MAX_TS_BURST, mbg_cond_err_msg(), mbg_get_fast_hr_timestamp(), mbg_get_fast_hr_timestamp_comp(), mbg_print_hr_timestamp(), MBG_SUCCESS, and read_raw.
Referenced by do_mbgfasttstamp().
|
static |
Definition at line 189 of file mbgfasttstamp.c.
References mbg_print_device_options(), mbg_print_help_options(), mbg_print_opt_info(), mbg_print_usage_intro(), and pname.
Referenced by main().
|
static |
Definition at line 64 of file mbgfasttstamp.c.
Referenced by do_mbgfasttstamp(), and main().
|
static |
Definition at line 184 of file mbgfasttstamp.c.
Referenced by main().
|
static |
Definition at line 63 of file mbgfasttstamp.c.
Referenced by main(), show_fast_hr_timestamp(), and show_fast_hr_timestamp_burst().
|
static |
Definition at line 58 of file mbgfasttstamp.c.
|
static |
Definition at line 65 of file mbgfasttstamp.c.
Referenced by main(), show_fast_hr_timestamp(), and show_fast_hr_timestamp_burst().
|
static |
Definition at line 66 of file mbgfasttstamp.c.
Referenced by main(), and show_fast_hr_timestamp().
|
static |
Definition at line 67 of file mbgfasttstamp.c.
Referenced by main(), and show_fast_hr_timestamp().