pub struct Host {
pub cpu_model: String,
pub logical_cpus: u32,
pub memory_bytes: u64,
pub disk_available_bytes: u64,
pub kernel: String,
pub clock_ticks_per_second: u32,
}Expand description
The host every trial ran on.
Fields§
§cpu_model: Stringmodel name from /proc/cpuinfo.
logical_cpus: u32Logical CPUs online.
memory_bytes: u64MemTotal, in bytes.
disk_available_bytes: u64Bytes available on the artifact filesystem when the run started.
kernel: Stringuname -r.
clock_ticks_per_second: u32getconf CLK_TCK, the unit of /proc/<pid>/stat CPU times.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Host
impl<'de> Deserialize<'de> for Host
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
impl Eq for Host
impl StructuralPartialEq for Host
Auto Trait Implementations§
impl Freeze for Host
impl RefUnwindSafe for Host
impl Send for Host
impl Sync for Host
impl Unpin for Host
impl UnsafeUnpin for Host
impl UnwindSafe for Host
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