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 00:15:47 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
dsa_dump 0
dsa_on_shmem_exit_release_in_place 0
dsa_trim 0
dsa_unpin 0
dsa_get_total_size_from_handle 2
dsa_is_attached 14
destroy_superblock 20
dsa_get_handle 149
dsa_create_ext 163
add_span_to_fullness_class 278
dsa_attach 444
make_new_segment 1285
dsa_pin 1352
dsa_get_total_size 1406
dsa_create_in_place_ext 1890
create_internal 2053
dsa_set_size_limit 2500
dsa_minimum_size 2576
unlink_segment 2804
unlink_span 3210
dsa_on_dsm_detach_release_in_place 5073
rebin_segment 5508
ensure_active_superblock 13580
get_best_segment 17070
init_span 17070
check_for_freed_segments_locked 17090
dsa_pin_mapping 27511
contiguous_pages_to_segment_bin 27969
transfer_first_span 28283
dsa_attach_in_place 28707
attach_internal 29151
dsa_release_in_place 29954
dsa_detach 30564
dsa_free 158592
get_segment_by_index 197918
dsa_allocate_extended 818458
alloc_object 830194
check_for_freed_segments 9788395
dsa_get_address 11483475

Generated by: LCOV version 2.0-1