LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - dsa.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.3 % 682 541
Test Date: 2026-07-17 01:15:41 Functions: 89.7 % 39 35
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 60.1 % 306 184

Function Name Sort by function name Hit count Sort by function hit count
add_span_to_fullness_class 295
alloc_object 830366
attach_internal 29135
check_for_freed_segments 9926371
check_for_freed_segments_locked 17058
contiguous_pages_to_segment_bin 27923
create_internal 2045
destroy_superblock 19
dsa_allocate_extended 818646
dsa_attach 437
dsa_attach_in_place 28698
dsa_create_ext 154
dsa_create_in_place_ext 1891
dsa_detach 30539
dsa_dump 0
dsa_free 158581
dsa_get_address 11621462
dsa_get_handle 140
dsa_get_total_size 1545
dsa_get_total_size_from_handle 2
dsa_is_attached 14
dsa_minimum_size 2568
dsa_on_dsm_detach_release_in_place 5049
dsa_on_shmem_exit_release_in_place 0
dsa_pin 1351
dsa_pin_mapping 27503
dsa_release_in_place 29930
dsa_set_size_limit 2500
dsa_trim 0
dsa_unpin 0
ensure_active_superblock 13571
get_best_segment 17039
get_segment_by_index 197911
init_span 17039
make_new_segment 1286
rebin_segment 5508
transfer_first_span 28264
unlink_segment 2814
unlink_span 3219

Generated by: LCOV version 2.0-1