Struct wasmtime_jit_debug::perf_jitdump::CodeLoadRecord
source · [−]#[repr(C)]pub struct CodeLoadRecord {
pub header: RecordHeader,
pub pid: u32,
pub tid: u32,
pub virtual_address: u64,
pub address: u64,
pub size: u64,
pub index: u64,
}
Expand description
The CodeLoadRecord is used for describing jitted functions
Fields
header: RecordHeader
Fixed sized header that describes this record
pid: u32
uint32_t pid
: OS process id of the runtime generating the jitted code
tid: u32
uint32_t tid
: OS thread identification of the runtime thread generating the jitted code
virtual_address: u64
uint64_t vma
: virtual address of jitted code start
address: u64
uint64_t code_addr
: code start address for the jitted code. By default vma = code_addr
size: u64
uint64_t code_size
: size in bytes of the generated jitted code
index: u64
uint64_t code_index
: unique identifier for the jitted code (see below)
Trait Implementations
sourceimpl Clone for CodeLoadRecord
impl Clone for CodeLoadRecord
sourcefn clone(&self) -> CodeLoadRecord
fn clone(&self) -> CodeLoadRecord
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 CodeLoadRecord
impl Debug for CodeLoadRecord
sourceimpl Default for CodeLoadRecord
impl Default for CodeLoadRecord
sourcefn default() -> CodeLoadRecord
fn default() -> CodeLoadRecord
Returns the “default value” for a type. Read more
impl Copy for CodeLoadRecord
impl Pod for CodeLoadRecord
Auto Trait Implementations
impl RefUnwindSafe for CodeLoadRecord
impl Send for CodeLoadRecord
impl Sync for CodeLoadRecord
impl Unpin for CodeLoadRecord
impl UnwindSafe for CodeLoadRecord
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