[−][src]Function libipt_sys::pt_insn_core_bus_ratio
pub unsafe extern "C" fn pt_insn_core_bus_ratio(
decoder: *mut pt_insn_decoder,
cbr: *mut u32
) -> c_int
Return the current core bus ratio.
On success, provides the current core:bus ratio in @cbr. The ratio is defined as core cycles per bus clock cycle.
Returns zero on success, a negative error code otherwise.
Returns -pte_invalid if @decoder or @cbr is NULL. Returns -pte_no_cbr if there has not been a CBR packet.