[−][src]Struct vmread::tlb::Tlb
Methods
impl Tlb
[src]
pub fn from_current_thread() -> Tlb
[src]
Create the TLB of current thread
Remarks
In VMRead, each thread has its own Translation Lookaside Buffer so as to not spend resources on locking mechanisms.
pub fn flush_tlb(&self) -> &Self
[src]
Flush TLB
pub fn verify_tlb(&self, c_ctx: &WinCtx) -> &Self
[src]
Verify TLB
pub fn set_mem_cache_time(new_time: usize)
[src]
Set global TLB validity time in milliseconds
Defines for how long translation caches (TLB and page buffer) should be valid. Higher values lead to higher performance, but could potentially lead to incorrect translation if the page tables update in that period. Especially dangerous if write operations are to be performed.
Arguments
new_time
- new validity time
pub fn get_default_mem_cache_time() -> usize
[src]
Get the default TLB validity in milliseconds
Auto Trait Implementations
impl RefUnwindSafe for Tlb
impl !Send for Tlb
impl !Sync for Tlb
impl Unpin for Tlb
impl UnwindSafe for Tlb
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,