Struct simics::api::interface::interfaces::BranchRecorderHandlerInterface
source · pub struct BranchRecorderHandlerInterface {
obj: *mut ConfObject,
interface: *mut branch_recorder_handler_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut branch_recorder_handler_interface
Implementations§
source§impl BranchRecorderHandlerInterface
impl BranchRecorderHandlerInterface
sourcepub fn attach_branch_recorder(
&mut self,
brec: *mut conf_object_t,
) -> Result<c_int>
pub fn attach_branch_recorder( &mut self, brec: *mut conf_object_t, ) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn detach_branch_recorder(
&mut self,
brec: *mut conf_object_t,
) -> Result<c_int>
pub fn detach_branch_recorder( &mut self, brec: *mut conf_object_t, ) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn create_cpu_branch_recorder(
&mut self,
br: *mut branch_recorder_t,
) -> Result<()>
pub fn create_cpu_branch_recorder( &mut self, br: *mut branch_recorder_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn destroy_cpu_branch_recorder(
&mut self,
br: *mut branch_recorder_t,
) -> Result<()>
pub fn destroy_cpu_branch_recorder( &mut self, br: *mut branch_recorder_t, ) -> Result<()>
Automatically generated method for the interface
sourcepub fn delete_arcs(&mut self, br: *mut branch_recorder_t) -> Result<()>
pub fn delete_arcs(&mut self, br: *mut branch_recorder_t) -> Result<()>
Automatically generated method for the interface
sourcepub fn num_branches(&mut self, br: *mut branch_recorder_t) -> Result<c_int>
pub fn num_branches(&mut self, br: *mut branch_recorder_t) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn get_branches(&mut self, br: *mut branch_recorder_t) -> Result<AttrValue>
pub fn get_branches(&mut self, br: *mut branch_recorder_t) -> Result<AttrValue>
Automatically generated method for the interface
sourcepub fn iter_branch_arc(
&mut self,
br: *mut branch_recorder_t,
start: generic_address_t,
stop: generic_address_t,
dir: branch_recorder_direction_t,
) -> Result<*mut branch_arc_iter_t>
pub fn iter_branch_arc( &mut self, br: *mut branch_recorder_t, start: generic_address_t, stop: generic_address_t, dir: branch_recorder_direction_t, ) -> Result<*mut branch_arc_iter_t>
Automatically generated method for the interface
sourcepub fn eec_interrupt_instruction(&mut self, extype: c_int) -> Result<c_int>
pub fn eec_interrupt_instruction(&mut self, extype: c_int) -> Result<c_int>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for BranchRecorderHandlerInterface
impl Interface for BranchRecorderHandlerInterface
source§const NAME: &'static [u8] = crate::api::sys::BRANCH_RECORDER_HANDLER_INTERFACE
const NAME: &'static [u8] = crate::api::sys::BRANCH_RECORDER_HANDLER_INTERFACE
The name of the interface
source§type InternalInterface = branch_recorder_handler_interface
type InternalInterface = branch_recorder_handler_interface
The inner interface type, which is a struct of nullable extern “C” function pointers
and must be default constructable as all NULL pointers (i.e. None values)
source§type Name = &'static [u8]
type Name = &'static [u8]
The type of the name of the interface, must be convertible to raw C string to pass to
the simulator
source§fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
fn new(obj: *mut ConfObject, interface: *mut Self::InternalInterface) -> Self
Create a new instance of this interface
Auto Trait Implementations§
impl Freeze for BranchRecorderHandlerInterface
impl RefUnwindSafe for BranchRecorderHandlerInterface
impl !Send for BranchRecorderHandlerInterface
impl !Sync for BranchRecorderHandlerInterface
impl Unpin for BranchRecorderHandlerInterface
impl UnwindSafe for BranchRecorderHandlerInterface
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more