pub struct IntelPerformanceQueryFn {
pub initialize_performance_api_intel: unsafe extern "system" fn(Device, *const InitializePerformanceApiInfoINTEL) -> Result,
pub uninitialize_performance_api_intel: unsafe extern "system" fn(Device),
pub cmd_set_performance_marker_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceMarkerInfoINTEL) -> Result,
pub cmd_set_performance_stream_marker_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceStreamMarkerInfoINTEL) -> Result,
pub cmd_set_performance_override_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceOverrideInfoINTEL) -> Result,
pub acquire_performance_configuration_intel: unsafe extern "system" fn(Device, *const PerformanceConfigurationAcquireInfoINTEL, *mut PerformanceConfigurationINTEL) -> Result,
pub release_performance_configuration_intel: unsafe extern "system" fn(Device, PerformanceConfigurationINTEL) -> Result,
pub queue_set_performance_configuration_intel: unsafe extern "system" fn(Queue, PerformanceConfigurationINTEL) -> Result,
pub get_performance_parameter_intel: unsafe extern "system" fn(Device, PerformanceParameterTypeINTEL, *mut PerformanceValueINTEL) -> Result,
}Fields
initialize_performance_api_intel: unsafe extern "system" fn(Device, *const InitializePerformanceApiInfoINTEL) -> Resultuninitialize_performance_api_intel: unsafe extern "system" fn(Device)cmd_set_performance_marker_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceMarkerInfoINTEL) -> Resultcmd_set_performance_stream_marker_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceStreamMarkerInfoINTEL) -> Resultcmd_set_performance_override_intel: unsafe extern "system" fn(CommandBuffer, *const PerformanceOverrideInfoINTEL) -> Resultacquire_performance_configuration_intel: unsafe extern "system" fn(Device, *const PerformanceConfigurationAcquireInfoINTEL, *mut PerformanceConfigurationINTEL) -> Resultrelease_performance_configuration_intel: unsafe extern "system" fn(Device, PerformanceConfigurationINTEL) -> Resultqueue_set_performance_configuration_intel: unsafe extern "system" fn(Queue, PerformanceConfigurationINTEL) -> Resultget_performance_parameter_intel: unsafe extern "system" fn(Device, PerformanceParameterTypeINTEL, *mut PerformanceValueINTEL) -> ResultImplementations
sourceimpl IntelPerformanceQueryFn
impl IntelPerformanceQueryFn
pub fn load<F>(_f: F) -> IntelPerformanceQueryFn where
F: FnMut(&CStr) -> *const c_void,
sourcepub unsafe fn initialize_performance_api_intel(
&self,
device: Device,
p_initialize_info: *const InitializePerformanceApiInfoINTEL
) -> Result
pub unsafe fn initialize_performance_api_intel(
&self,
device: Device,
p_initialize_info: *const InitializePerformanceApiInfoINTEL
) -> Result
sourcepub unsafe fn uninitialize_performance_api_intel(&self, device: Device)
pub unsafe fn uninitialize_performance_api_intel(&self, device: Device)
sourcepub unsafe fn cmd_set_performance_marker_intel(
&self,
command_buffer: CommandBuffer,
p_marker_info: *const PerformanceMarkerInfoINTEL
) -> Result
pub unsafe fn cmd_set_performance_marker_intel(
&self,
command_buffer: CommandBuffer,
p_marker_info: *const PerformanceMarkerInfoINTEL
) -> Result
sourcepub unsafe fn cmd_set_performance_stream_marker_intel(
&self,
command_buffer: CommandBuffer,
p_marker_info: *const PerformanceStreamMarkerInfoINTEL
) -> Result
pub unsafe fn cmd_set_performance_stream_marker_intel(
&self,
command_buffer: CommandBuffer,
p_marker_info: *const PerformanceStreamMarkerInfoINTEL
) -> Result
sourcepub unsafe fn cmd_set_performance_override_intel(
&self,
command_buffer: CommandBuffer,
p_override_info: *const PerformanceOverrideInfoINTEL
) -> Result
pub unsafe fn cmd_set_performance_override_intel(
&self,
command_buffer: CommandBuffer,
p_override_info: *const PerformanceOverrideInfoINTEL
) -> Result
sourcepub unsafe fn acquire_performance_configuration_intel(
&self,
device: Device,
p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL,
p_configuration: *mut PerformanceConfigurationINTEL
) -> Result
pub unsafe fn acquire_performance_configuration_intel(
&self,
device: Device,
p_acquire_info: *const PerformanceConfigurationAcquireInfoINTEL,
p_configuration: *mut PerformanceConfigurationINTEL
) -> Result
sourcepub unsafe fn release_performance_configuration_intel(
&self,
device: Device,
configuration: PerformanceConfigurationINTEL
) -> Result
pub unsafe fn release_performance_configuration_intel(
&self,
device: Device,
configuration: PerformanceConfigurationINTEL
) -> Result
sourcepub unsafe fn queue_set_performance_configuration_intel(
&self,
queue: Queue,
configuration: PerformanceConfigurationINTEL
) -> Result
pub unsafe fn queue_set_performance_configuration_intel(
&self,
queue: Queue,
configuration: PerformanceConfigurationINTEL
) -> Result
sourcepub unsafe fn get_performance_parameter_intel(
&self,
device: Device,
parameter: PerformanceParameterTypeINTEL,
p_value: *mut PerformanceValueINTEL
) -> Result
pub unsafe fn get_performance_parameter_intel(
&self,
device: Device,
parameter: PerformanceParameterTypeINTEL,
p_value: *mut PerformanceValueINTEL
) -> Result
Trait Implementations
sourceimpl Clone for IntelPerformanceQueryFn
impl Clone for IntelPerformanceQueryFn
sourcepub fn clone(&self) -> IntelPerformanceQueryFn
pub fn clone(&self) -> IntelPerformanceQueryFn
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
impl Send for IntelPerformanceQueryFn
impl Sync for IntelPerformanceQueryFn
Auto Trait Implementations
impl RefUnwindSafe for IntelPerformanceQueryFn
impl Unpin for IntelPerformanceQueryFn
impl UnwindSafe for IntelPerformanceQueryFn
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more