pub struct PreviewDylibLoadTimings {
pub cache_file_ms: u64,
pub load_library_ms: u64,
pub initial_dlopen_ms: u64,
pub codesign_verify_ms: Option<u64>,
pub codesign_ms: Option<u64>,
pub reload_after_codesign_ms: Option<u64>,
}Expand description
Timing breakdown for loading a preview dylib into the support app process.
Fields§
§cache_file_ms: u64Time spent materializing the cached dylib file on disk.
load_library_ms: u64Total time spent loading the library from disk.
initial_dlopen_ms: u64Time spent in the initial dlopen.
codesign_verify_ms: Option<u64>Time spent verifying an existing code signature, if the initial dlopen failed.
codesign_ms: Option<u64>Time spent codesigning the dylib, if needed.
reload_after_codesign_ms: Option<u64>Time spent reloading the dylib after codesigning, if needed.
Trait Implementations§
Source§impl Clone for PreviewDylibLoadTimings
impl Clone for PreviewDylibLoadTimings
Source§fn clone(&self) -> PreviewDylibLoadTimings
fn clone(&self) -> PreviewDylibLoadTimings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PreviewDylibLoadTimings
Source§impl Debug for PreviewDylibLoadTimings
impl Debug for PreviewDylibLoadTimings
Source§impl Default for PreviewDylibLoadTimings
impl Default for PreviewDylibLoadTimings
Source§fn default() -> PreviewDylibLoadTimings
fn default() -> PreviewDylibLoadTimings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PreviewDylibLoadTimings
impl<'de> Deserialize<'de> for PreviewDylibLoadTimings
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PreviewDylibLoadTimings
impl RefUnwindSafe for PreviewDylibLoadTimings
impl Send for PreviewDylibLoadTimings
impl Sync for PreviewDylibLoadTimings
impl Unpin for PreviewDylibLoadTimings
impl UnsafeUnpin for PreviewDylibLoadTimings
impl UnwindSafe for PreviewDylibLoadTimings
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