mbgtools-lx
4.2.8
|
Go to the source code of this file.
Macros | |
#define | _ext extern |
#define | _mbg_swab_mbg_pc_cycles(_p) _nop_macro_fnc() |
#define | _mbg_swab_mbg_pc_cycles_frequency(_p) _nop_macro_fnc() |
#define | MBG_PC_CYCLES_SUPPORTED 0 |
Typedefs | |
typedef int64_t | MBG_PC_CYCLES |
Generic types to hold PC cycle counter values. More... | |
typedef uint64_t | MBG_PC_CYCLES_FREQUENCY |
Functions | |
static __mbg_inline void | mbg_get_pc_cycles (MBG_PC_CYCLES *p) |
static __mbg_inline void | mbg_get_pc_cycles_frequency (MBG_PC_CYCLES_FREQUENCY *p) |
static __mbg_inline MBG_PC_CYCLES | mbg_delta_pc_cycles (const MBG_PC_CYCLES *p1, const MBG_PC_CYCLES *p2) |
#define _ext extern |
Definition at line 71 of file mbgpccyc.h.
#define _mbg_swab_mbg_pc_cycles | ( | _p | ) | _nop_macro_fnc() |
Definition at line 111 of file mbgpccyc.h.
#define _mbg_swab_mbg_pc_cycles_frequency | ( | _p | ) | _nop_macro_fnc() |
Definition at line 114 of file mbgpccyc.h.
#define MBG_PC_CYCLES_SUPPORTED 0 |
typedef int64_t MBG_PC_CYCLES |
Generic types to hold PC cycle counter values.
The cycle counter value is usually derived from the PC CPU's TSC or some other timer hardware on the mainboard.
Definition at line 97 of file mbgpccyc.h.
typedef uint64_t MBG_PC_CYCLES_FREQUENCY |
Definition at line 98 of file mbgpccyc.h.
|
static |
Definition at line 296 of file mbgpccyc.h.
Referenced by mbg_chk_time_info(), mbg_comp_hr_latency(), mbg_get_default_cycles_frequency_from_dev(), mbg_set_current_process_affinity_to_cpu(), and report_ret_val().
|
static |
Definition at line 178 of file mbgpccyc.h.
Referenced by do_get_fast_hr_timestamp_cycles_safe(), do_mbgxhrtime(), ioctl_switch(), mbg_get_fast_hr_timestamp_comp(), mbg_get_hr_time_comp(), mbg_set_current_process_affinity_to_cpu(), pcps_read_amcc_s5920(), pcps_read_amcc_s5933(), pcps_read_asic(), pcps_read_std(), report_io_cmd(), report_ret_val(), and swap_tstamp().
|
static |
Definition at line 250 of file mbgpccyc.h.
Referenced by ioctl_switch(), mbg_get_default_cycles_frequency(), and pcps_probe_device().