LCOV - code coverage report
Current view: top level - pageserver/src/tenant/timeline - layer_manager.rs (source / functions) Coverage Total Hit
Test: 53437f7e869ac68c86c7d3e4c20964c0156f158c.info Lines: 77.2 % 302 233
Test Date: 2024-09-20 16:14:12 Functions: 80.0 % 35 28

Function Name Sort by function name Hit count Sort by function hit count
<pageserver::tenant::timeline::layer_manager::LayerManager>::all_persistent_layers 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key::{closure#0} 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_size_sum 0
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_size_sum::{closure#0} 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager as core::fmt::Debug>::fmt 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::rewrite_layers 0
<pageserver::tenant::timeline::layer_manager::Shutdown as core::fmt::Display>::fmt 0
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_local_layers 18
<pageserver::tenant::timeline::layer_manager::LayerManager>::shutdown 24
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_timeline 36
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers 66
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_gc_compaction 66
<pageserver::tenant::timeline::layer_manager::LayerManager>::likely_resident_layers::{closure#0} 98
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_compact_l0 150
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::force_insert_layer 330
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains 924
<pageserver::tenant::timeline::layer_manager::LayerManager>::contains_key 1122
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::initialize_empty 1224
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer> as core::default::Default>::default 1242
<pageserver::tenant::timeline::layer_manager::LayerManager as core::default::Default>::default 1242
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::remove 1398
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::delete_historic_layer 1398
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::track_new_image_layers 2136
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::finish_flush_l0_layer 3426
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer 3510
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::try_freeze_in_memory_layer::{closure#0} 3510
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write 3816
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::get_layer_for_write::{closure#0} 3816
<pageserver::tenant::timeline::layer_manager::LayerFileManager<pageserver::tenant::storage_layer::layer::Layer>>::insert 4908
<pageserver::tenant::timeline::layer_manager::OpenLayerManager>::insert_historic_layer 4908
<pageserver::tenant::timeline::layer_manager::LayerManager>::open_mut 14646
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_desc 830204
<pageserver::tenant::timeline::layer_manager::LayerManager>::get_from_key 830252
<pageserver::tenant::timeline::layer_manager::LayerManager>::layers 831440
<pageserver::tenant::timeline::layer_manager::LayerManager>::layer_map 3143714

Generated by: LCOV version 2.1-beta