LCOV - code coverage report
Current view: top level - src/backend/utils/mmgr - dsa.c (source / functions) Coverage Total Hit
Test: PostgreSQL 20devel Lines: 79.0 % 682 539
Test Date: 2026-11-06 16:15:55 Functions: 89.7 % 39 35
Legend: Lines:     hit not hit
Branches: + taken - not taken # not executed
Branches: 59.2 % 306 181

Function Name Sort by function name Hit count Sort by function hit count
add_span_to_fullness_class 203
alloc_object 817860
attach_internal 30850
check_for_freed_segments 10128559
check_for_freed_segments_locked 17557
contiguous_pages_to_segment_bin 28773
create_internal 2142
destroy_superblock 15
dsa_allocate_extended 805233
dsa_attach 525
dsa_attach_in_place 30325
dsa_create_ext 172
dsa_create_in_place_ext 1970
dsa_detach 32241
dsa_dump 0
dsa_free 157114
dsa_get_address 11825117
dsa_get_handle 158
dsa_get_total_size 1693
dsa_get_total_size_from_handle 2
dsa_is_attached 28
dsa_minimum_size 2658
dsa_on_dsm_detach_release_in_place 5196
dsa_on_shmem_exit_release_in_place 0
dsa_pin 1459
dsa_pin_mapping 29213
dsa_release_in_place 31654
dsa_set_size_limit 2676
dsa_trim 0
dsa_unpin 0
ensure_active_superblock 14530
get_best_segment 17542
get_segment_by_index 199660
init_span 17542
make_new_segment 1348
rebin_segment 5599
transfer_first_span 29314
unlink_segment 2921
unlink_span 3109

Generated by: LCOV version 2.0-1