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-10-15 04: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 227
alloc_object 821985
attach_internal 30470
check_for_freed_segments 10192812
check_for_freed_segments_locked 17472
contiguous_pages_to_segment_bin 28649
create_internal 2132
destroy_superblock 14
dsa_allocate_extended 809434
dsa_attach 516
dsa_attach_in_place 29954
dsa_create_ext 178
dsa_create_in_place_ext 1954
dsa_detach 31875
dsa_dump 0
dsa_free 156050
dsa_get_address 11890434
dsa_get_handle 164
dsa_get_total_size 1812
dsa_get_total_size_from_handle 2
dsa_is_attached 28
dsa_minimum_size 2644
dsa_on_dsm_detach_release_in_place 5101
dsa_on_shmem_exit_release_in_place 0
dsa_pin 1444
dsa_pin_mapping 28867
dsa_release_in_place 31275
dsa_set_size_limit 2654
dsa_trim 0
dsa_unpin 0
ensure_active_superblock 14474
get_best_segment 17458
get_segment_by_index 198198
init_span 17458
make_new_segment 1338
rebin_segment 5589
transfer_first_span 29219
unlink_segment 2918
unlink_span 3131

Generated by: LCOV version 2.0-1