Type Alias simics_api_sys::bindings::branch_recorder_handler_interface_t
source · pub type branch_recorder_handler_interface_t = branch_recorder_handler_interface;
Aliased Type§
struct branch_recorder_handler_interface_t {Show 15 fields
pub attach_branch_recorder: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object) -> i32>,
pub detach_branch_recorder: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object) -> i32>,
pub create_cpu_branch_recorder: Option<unsafe extern "C" fn(_: *mut branch_recorder)>,
pub destroy_cpu_branch_recorder: Option<unsafe extern "C" fn(_: *mut branch_recorder)>,
pub delete_arcs: Option<unsafe extern "C" fn(_: *mut branch_recorder)>,
pub num_branches: Option<unsafe extern "C" fn(_: *mut branch_recorder) -> i32>,
pub get_branches: Option<unsafe extern "C" fn(_: *mut branch_recorder) -> attr_value>,
pub iter: *mut Option<unsafe extern "C" fn(_: *mut branch_recorder, _: u64, _: u64) -> *mut addr_prof_iter>,
pub iter_branch_arc: Option<unsafe extern "C" fn(_: *mut branch_recorder, _: u64, _: u64, _: branch_recorder_direction_t) -> *mut branch_arc_iter>,
pub eec_interrupt_instruction: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32) -> i32>,
pub granularity_log2: u32,
pub view_descriptions: *mut *const i8,
pub num_views: i32,
pub pa_bits: i32,
pub va_bits: i32,
}
Fields§
§attach_branch_recorder: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object) -> i32>
Attach/detach returns zero on error.
detach_branch_recorder: Option<unsafe extern "C" fn(_: *mut conf_object, _: *mut conf_object) -> i32>
§create_cpu_branch_recorder: Option<unsafe extern "C" fn(_: *mut branch_recorder)>
§destroy_cpu_branch_recorder: Option<unsafe extern "C" fn(_: *mut branch_recorder)>
§delete_arcs: Option<unsafe extern "C" fn(_: *mut branch_recorder)>
§num_branches: Option<unsafe extern "C" fn(_: *mut branch_recorder) -> i32>
§get_branches: Option<unsafe extern "C" fn(_: *mut branch_recorder) -> attr_value>
§iter: *mut Option<unsafe extern "C" fn(_: *mut branch_recorder, _: u64, _: u64) -> *mut addr_prof_iter>
§iter_branch_arc: Option<unsafe extern "C" fn(_: *mut branch_recorder, _: u64, _: u64, _: branch_recorder_direction_t) -> *mut branch_arc_iter>
§eec_interrupt_instruction: Option<unsafe extern "C" fn(_: *mut conf_object, _: i32) -> i32>
§granularity_log2: u32
§view_descriptions: *mut *const i8
§num_views: i32
§pa_bits: i32
§va_bits: i32