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-08-13 02:15:45 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 268
alloc_object 837341
attach_internal 29468
check_for_freed_segments 10105879
check_for_freed_segments_locked 16919
contiguous_pages_to_segment_bin 27844
create_internal 2065
destroy_superblock 16
dsa_allocate_extended 825304
dsa_attach 455
dsa_attach_in_place 29013
dsa_create_ext 156
dsa_create_in_place_ext 1909
dsa_detach 30867
dsa_dump 0
dsa_free 159810
dsa_get_address 11799741
dsa_get_handle 142
dsa_get_total_size 1567
dsa_get_total_size_from_handle 2
dsa_is_attached 14
dsa_minimum_size 2588
dsa_on_dsm_detach_release_in_place 5074
dsa_on_shmem_exit_release_in_place 0
dsa_pin 1374
dsa_pin_mapping 27840
dsa_release_in_place 30265
dsa_set_size_limit 2536
dsa_trim 0
dsa_unpin 0
ensure_active_superblock 13913
get_best_segment 16903
get_segment_by_index 200376
init_span 16903
make_new_segment 1295
rebin_segment 5516
transfer_first_span 28104
unlink_segment 2822
unlink_span 3195

Generated by: LCOV version 2.0-1