pub struct ExpectedPerformance {
pub initial_load_ms: u32,
pub cached_switch_ms: u32,
pub warm_switch_ms: u32,
pub cold_load_ms: u32,
pub mpr_render_ms: u32,
pub volume_render_ms: u32,
pub scroll_fps: u32,
}Expand description
Expected performance characteristics for a cache configuration
Fields§
§initial_load_ms: u32Initial study load time in ms
cached_switch_ms: u32Cached (hot) to active switch time in ms
warm_switch_ms: u32Warm to active switch time in ms
cold_load_ms: u32Cold to active load time in ms
mpr_render_ms: u32MPR render time in ms
volume_render_ms: u323D volume render time in ms
scroll_fps: u32Target scroll FPS
Implementations§
Source§impl ExpectedPerformance
impl ExpectedPerformance
Sourcepub fn for_profile(profile: PerformanceProfile) -> Self
pub fn for_profile(profile: PerformanceProfile) -> Self
Get expected performance for a profile
Trait Implementations§
Source§impl Clone for ExpectedPerformance
impl Clone for ExpectedPerformance
Source§fn clone(&self) -> ExpectedPerformance
fn clone(&self) -> ExpectedPerformance
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExpectedPerformance
impl Debug for ExpectedPerformance
Source§impl<'de> Deserialize<'de> for ExpectedPerformance
impl<'de> Deserialize<'de> for ExpectedPerformance
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 ExpectedPerformance
impl RefUnwindSafe for ExpectedPerformance
impl Send for ExpectedPerformance
impl Sync for ExpectedPerformance
impl Unpin for ExpectedPerformance
impl UnwindSafe for ExpectedPerformance
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