Struct ittapi_sys::_iJIT_Method_Load_V2
source · [−]#[repr(C)]pub struct _iJIT_Method_Load_V2 {
pub method_id: c_uint,
pub method_name: *mut c_char,
pub method_load_address: *mut c_void,
pub method_size: c_uint,
pub line_number_size: c_uint,
pub line_number_table: pLineNumberInfo,
pub class_file_name: *mut c_char,
pub source_file_name: *mut c_char,
pub module_name: *mut c_char,
}
Expand description
@brief Description of a JIT-compiled method @details When you use the iJIT_Method_Load_V2 structure to describe the JIT compiled method, use iJVM_EVENT_TYPE_METHOD_LOAD_FINISHED_V2 as an event type to report it.
Fields
method_id: c_uint
<\brief Unique method ID. Cannot be 0. You must either use the API function iJIT_GetNewMethodID to get a valid and unique method ID, or else manage ID uniqueness and correct range by yourself.\n You must use the same method ID for all code regions of the same method, otherwise different method IDs specify different methods.
method_name: *mut c_char
<\brief The name of the method. It can be optionally prefixed with its class name and appended with its complete signature. Can’t be NULL.
method_load_address: *mut c_void
<\brief The start virtual address of the method code region. If NULL, then data provided with the event are not accepted.
method_size: c_uint
<\brief The code size of the method in memory. If 0, then data provided with the event are not accepted.
line_number_size: c_uint
<\brief The number of entries in the line number table. 0 if none.
line_number_table: pLineNumberInfo
<\brief Pointer to the line numbers info array. Can be NULL if line_number_size is 0. See LineNumberInfo Structure for a description of a single entry in the line number info array.
class_file_name: *mut c_char
<\brief Class name. Can be NULL.
source_file_name: *mut c_char
<\brief Source file name. Can be NULL.
module_name: *mut c_char
<\brief Module name. Can be NULL. The module name can be useful for distinguishing among different JIT engines. VTune Amplifier will display reported methods grouped by specific module.
Trait Implementations
sourceimpl Clone for _iJIT_Method_Load_V2
impl Clone for _iJIT_Method_Load_V2
sourcefn clone(&self) -> _iJIT_Method_Load_V2
fn clone(&self) -> _iJIT_Method_Load_V2
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
sourceimpl Debug for _iJIT_Method_Load_V2
impl Debug for _iJIT_Method_Load_V2
impl Copy for _iJIT_Method_Load_V2
Auto Trait Implementations
impl RefUnwindSafe for _iJIT_Method_Load_V2
impl !Send for _iJIT_Method_Load_V2
impl !Sync for _iJIT_Method_Load_V2
impl Unpin for _iJIT_Method_Load_V2
impl UnwindSafe for _iJIT_Method_Load_V2
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more