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-09-15 02:15:48 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 193
alloc_object 815057
attach_internal 30054
check_for_freed_segments 10168455
check_for_freed_segments_locked 17314
contiguous_pages_to_segment_bin 28394
create_internal 2106
destroy_superblock 15
dsa_allocate_extended 802671
dsa_attach 486
dsa_attach_in_place 29568
dsa_create_ext 172
dsa_create_in_place_ext 1934
dsa_detach 31471
dsa_dump 0
dsa_free 156514
dsa_get_address 11865613
dsa_get_handle 158
dsa_get_total_size 1831
dsa_get_total_size_from_handle 2
dsa_is_attached 14
dsa_minimum_size 2618
dsa_on_dsm_detach_release_in_place 5062
dsa_on_shmem_exit_release_in_place 0
dsa_pin 1417
dsa_pin_mapping 28445
dsa_release_in_place 30853
dsa_set_size_limit 2614
dsa_trim 0
dsa_unpin 0
ensure_active_superblock 14250
get_best_segment 17299
get_segment_by_index 197910
init_span 17299
make_new_segment 1321
rebin_segment 5562
transfer_first_span 28766
unlink_segment 2877
unlink_span 3110

Generated by: LCOV version 2.0-1