pub struct UnitsCollectionTimings {
pub list_units_ms: f64,
pub per_unit_loop_ms: f64,
pub timer_dbus_fetches: u64,
pub state_dbus_fetches: u64,
pub service_dbus_fetches: u64,
}Expand description
Inner timing breakdown for the units collector D-Bus phases.
Helps locate which step of unit collection dominates wall time when the
units collector is the slowest one in MonitordStats::collector_timings.
Fields§
§list_units_ms: f64Time for the systemd ListUnits D-Bus call (one batched call returning all units).
per_unit_loop_ms: f64Time spent in the per-unit parse loop, including any per-unit D-Bus calls (timer property fetches, state stats, service stats).
timer_dbus_fetches: u64Number of timer units whose properties were fetched via D-Bus this run.
state_dbus_fetches: u64Number of unit state D-Bus fetches this run (when state_stats_time_in_state is enabled).
service_dbus_fetches: u64Number of per-service D-Bus property fetches this run.
Trait Implementations§
Source§impl Clone for UnitsCollectionTimings
impl Clone for UnitsCollectionTimings
Source§fn clone(&self) -> UnitsCollectionTimings
fn clone(&self) -> UnitsCollectionTimings
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 UnitsCollectionTimings
impl Debug for UnitsCollectionTimings
Source§impl Default for UnitsCollectionTimings
impl Default for UnitsCollectionTimings
Source§fn default() -> UnitsCollectionTimings
fn default() -> UnitsCollectionTimings
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UnitsCollectionTimings
impl<'de> Deserialize<'de> for UnitsCollectionTimings
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
Source§impl PartialEq for UnitsCollectionTimings
impl PartialEq for UnitsCollectionTimings
Source§impl Serialize for UnitsCollectionTimings
impl Serialize for UnitsCollectionTimings
impl StructuralPartialEq for UnitsCollectionTimings
Auto Trait Implementations§
impl Freeze for UnitsCollectionTimings
impl RefUnwindSafe for UnitsCollectionTimings
impl Send for UnitsCollectionTimings
impl Sync for UnitsCollectionTimings
impl Unpin for UnitsCollectionTimings
impl UnsafeUnpin for UnitsCollectionTimings
impl UnwindSafe for UnitsCollectionTimings
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> NoneValue for Twhere
T: Default,
impl<T> NoneValue for Twhere
T: Default,
type NoneType = T
§fn null_value() -> T
fn null_value() -> T
The none-equivalent value.