LCOV - code coverage report
Current view:
top level
-
storage_controller/src
- scheduler.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
fc67f8dc6087a0b4f4f0bcd74f6e1dc25fab8cf3.info
Lines:
85.6 %
522
447
Test Date:
2024-09-24 13:57:57
Functions:
72.7 %
55
40
Function Name
Hit count
<storage_controller::scheduler::ScheduleError as core::fmt::Display>::fmt
0
<storage_controller::scheduler::Scheduler>::compute_fill_requirement
0
<storage_controller::scheduler::Scheduler>::expected_attached_shard_count
0
<storage_controller::scheduler::Scheduler>::expected_attached_shard_count::{closure#0}
0
<storage_controller::scheduler::Scheduler>::node_remove
0
<storage_controller::scheduler::Scheduler>::nodes_by_attached_shard_count
0
<storage_controller::scheduler::Scheduler>::nodes_by_attached_shard_count::{closure#0}
0
<storage_controller::scheduler::Scheduler>::nodes_by_attached_shard_count::{closure#1}
0
<storage_controller::scheduler::Scheduler>::schedule_shard::<storage_controller::scheduler::AttachedShardTag>::{closure#4}
0
::schedule_shard::
::{closure#4}
0
::schedule_shard::
::{closure#5}
0
::schedule_shard::
::{closure#4}
0
::schedule_shard::
::{closure#5}
0
<utils::http::error::ApiError as core::convert::From<storage_controller::scheduler::ScheduleError>>::from
0
<storage_controller::scheduler::Scheduler>::consistency_check::<std::collections::hash::map::Values<utils::id::NodeId, storage_controller::node::Node>, core::array::iter::IntoIter<&storage_controller::tenant_shard::TenantShard, 1>>
1
::consistency_check::
, alloc::collections::btree::map::Values
>
0
::consistency_check::
, core::array::iter::IntoIter<&storage_controller::tenant_shard::TenantShard, 1>>
1
storage_controller::scheduler::tests::scheduler_basic
1
storage_controller::scheduler::tests::scheduler_basic::{closure#0}
1
storage_controller::scheduler::tests::scheduler_utilization
1
<storage_controller::scheduler::Scheduler>::node_preferred::{closure#2}
2
<storage_controller::scheduler::SchedulerNode as core::cmp::PartialEq>::eq
3
<storage_controller::scheduler::Scheduler>::node_preferred::{closure#0}
4
<storage_controller::scheduler::Scheduler>::node_preferred::{closure#0}::{closure#0}
4
<storage_controller::scheduler::Scheduler>::node_preferred::{closure#1}
4
<storage_controller::scheduler::Scheduler>::new::<_>
9
::new::<_>
0
::new::
>
2
::new::
>
7
<storage_controller::scheduler::Scheduler>::node_upsert
9
storage_controller::scheduler::test_utils::make_test_nodes
9
storage_controller::scheduler::tests::scheduler_utilization::assert_scheduler_chooses
11
<storage_controller::scheduler::Scheduler>::get_node_attached_shard_count
12
<storage_controller::scheduler::Scheduler>::get_node_shard_count
12
<storage_controller::scheduler::ScheduleMode as core::default::Default>::default
20
<storage_controller::scheduler::AffinityScore as core::ops::arith::Add>::add
24
<storage_controller::scheduler::NodeSecondarySchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::node_id
26
storage_controller::scheduler::test_utils::make_test_nodes::{closure#0}
27
<storage_controller::scheduler::NodeAttachmentSchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::node_id
28
<storage_controller::scheduler::Scheduler>::node_preferred
30
<storage_controller::scheduler::NodeSecondarySchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::generate
40
<storage_controller::scheduler::NodeSecondarySchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::is_overloaded
40
<storage_controller::scheduler::ScheduleContext>::push_attached
55
<storage_controller::scheduler::ScheduleContext>::avoid
57
<storage_controller::scheduler::Scheduler>::compute_node_scores::<storage_controller::scheduler::NodeSecondarySchedulingScore>
62
::compute_node_scores::
28
::compute_node_scores::
34
<storage_controller::scheduler::Scheduler>::schedule_shard::<storage_controller::scheduler::AttachedShardTag>
62
::schedule_shard::
28
::schedule_shard::
34
<storage_controller::scheduler::NodeAttachmentSchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::generate
68
<storage_controller::scheduler::NodeAttachmentSchedulingScore as storage_controller::scheduler::NodeSchedulingScore>::is_overloaded
68
<storage_controller::scheduler::ScheduleContext>::get_node_affinity
69
<storage_controller::scheduler::ScheduleContext>::get_node_attachments
69
<storage_controller::scheduler::Scheduler>::schedule_shard::<storage_controller::scheduler::AttachedShardTag>::{closure#0}
108
::schedule_shard::
::{closure#0}
40
::schedule_shard::
::{closure#0}
68
<storage_controller::scheduler::AffinityScore>::inc
112
<storage_controller::scheduler::Scheduler>::update_node_ref_counts
123
<storage_controller::scheduler::Scheduler>::compute_node_scores::<storage_controller::scheduler::NodeSecondarySchedulingScore>::{closure#0}
163
::compute_node_scores::
::{closure#0}
69
::compute_node_scores::
::{closure#0}
94
Generated by:
LCOV version 2.1-beta