LCOV - code coverage report
Current view:
top level
-
libs/pageserver_api/src/models
- utilization.rs
(
source
/ functions)
Coverage
Total
Hit
Test:
f5f94ec0366b63fd2cbbe02edc2087dbd893d04d.info
Lines:
83.3 %
90
75
Test Date:
2024-11-20 05:34:23
Functions:
30.8 %
26
8
Function Name
Hit count
<pageserver_api::models::utilization::PageserverUtilization>::full
0
pageserver_api::models::utilization::unity_percent
0
pageserver_api::models::utilization::tests::u64_max_is_serialized_as_u63_max
1
<<pageserver_api::models::utilization::PageserverUtilization as serde::de::Deserialize>::deserialize::__Visitor as serde::de::Visitor>::expecting
3
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::<_>
0
<
::deserialize::__Field as serde::de::Deserialize>::deserialize::
>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::expecting
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_bytes::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::<_>
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_str::
0
<
::deserialize::__FieldVisitor as serde::de::Visitor>::visit_u64::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::expecting
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_map::
>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::<_>
0
<
::deserialize::__Visitor as serde::de::Visitor>::visit_seq::
>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<_>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::
, serde_json::ser::CompactFormatter>>
0
<
::serialize::__SerializeWith as serde::ser::Serialize>::serialize::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
3
pageserver_api::models::utilization::ser_saturating_u63::<_>
3
pageserver_api::models::utilization::ser_saturating_u63::<_>
0
pageserver_api::models::utilization::ser_saturating_u63::
, serde_json::ser::CompactFormatter>>
0
pageserver_api::models::utilization::ser_saturating_u63::<&mut serde_json::ser::Serializer<&mut alloc::vec::Vec
>>
3
pageserver_api::models::utilization::test_utilization::simple
232
<pageserver_api::models::utilization::PageserverUtilization>::adjust_shard_count_max
25065
<pageserver_api::models::utilization::PageserverUtilization>::score
25165
<pageserver_api::models::utilization::PageserverUtilization>::cached_score
87626
<pageserver_api::models::utilization::PageserverUtilization>::is_overloaded
87626
Generated by:
LCOV version 2.1-beta