Struct simics::api::interface::interfaces::AddressProfilerInterface
source · pub struct AddressProfilerInterface {
obj: *mut ConfObject,
interface: *mut address_profiler_interface,
}
Expand description
Automatically generated structure for the interface
Fields§
§obj: *mut ConfObject
§interface: *mut address_profiler_interface
Implementations§
source§impl AddressProfilerInterface
impl AddressProfilerInterface
sourcepub fn iter(
&mut self,
view: c_uint,
start: generic_address_t,
stop: generic_address_t,
) -> Result<*mut addr_prof_iter_t>
pub fn iter( &mut self, view: c_uint, start: generic_address_t, stop: generic_address_t, ) -> Result<*mut addr_prof_iter_t>
Automatically generated method for the interface
sourcepub fn sum(
&mut self,
view: c_uint,
start: generic_address_t,
end: generic_address_t,
) -> Result<uint64>
pub fn sum( &mut self, view: c_uint, start: generic_address_t, end: generic_address_t, ) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn max(
&mut self,
view: c_uint,
start: generic_address_t,
end: generic_address_t,
) -> Result<uint64>
pub fn max( &mut self, view: c_uint, start: generic_address_t, end: generic_address_t, ) -> Result<uint64>
Automatically generated method for the interface
sourcepub fn granularity_log2(&mut self, view: c_uint) -> Result<c_uint>
pub fn granularity_log2(&mut self, view: c_uint) -> Result<c_uint>
Automatically generated method for the interface
sourcepub fn address_bits(&mut self, view: c_uint) -> Result<c_int>
pub fn address_bits(&mut self, view: c_uint) -> Result<c_int>
Automatically generated method for the interface
sourcepub fn physical_addresses(&mut self, view: c_uint) -> Result<c_int>
pub fn physical_addresses(&mut self, view: c_uint) -> Result<c_int>
Automatically generated method for the interface
Trait Implementations§
source§impl Interface for AddressProfilerInterface
impl Interface for AddressProfilerInterface
source§const NAME: &'static [u8] = crate::api::sys::ADDRESS_PROFILER_INTERFACE
const NAME: &'static [u8] = crate::api::sys::ADDRESS_PROFILER_INTERFACE
The name of the interface
source§type InternalInterface = address_profiler_interface
type InternalInterface = address_profiler_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 AddressProfilerInterface
impl RefUnwindSafe for AddressProfilerInterface
impl !Send for AddressProfilerInterface
impl !Sync for AddressProfilerInterface
impl Unpin for AddressProfilerInterface
impl UnwindSafe for AddressProfilerInterface
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