LCOV - code coverage report
Current view: top level - src - filemgr.cc (source / functions) Hit Total Coverage
Test: coverage.info.cleaned Lines: 898 1005 89.4 %
Date: 2015-01-12 15:17:13 Functions: 66 68 97.1 %
Branches: 269 366 73.5 %

Function Name Sort by function name Hit count Sort by hit count
filemgr_get_filename_ptr 0
filemgr_remove_file 0
filemgr_fetch_header 2
filemgr_get_ref_count 5
filemgr_mutex_openlock 5
filemgr_mutex_openunlock 5
filemgr_destroy_file 6
filemgr_set_rollback 50
filemgr_set_compaction_old 53
filemgr_set_in_place_compaction 53
filemgr_remove_pending 55
_Z24_filemgr_prefetch_threadPv 60
_ZL15mutex_init_wrapPv 103
_ZL18mutex_destroy_wrapPv 103
_Z26_filemgr_shutdown_temp_bufv 123
filemgr_shutdown 123
filemgr_fetch_prev_header 138
filemgr_update_file_status 139
_Z16filemgr_prefetchP7filemgrP14filemgr_config 217
_ZL17spin_destroy_wrapPv 247
_ZL18_filemgr_free_funcP9hash_elem 247
_ZL14spin_init_wrapPv 248
_Z20_filemgr_read_headerP7filemgr 251
_kvs_stat_set 469
filemgr_set_dirty_root 603
filemgr_close 625
_Z9_file_cmpP9hash_elemS0_ 629
filemgr_open 644
filemgr_init 754
_Z10_file_hashP4hashP9hash_elem 1162
filemgr_get_header_bid 2990
filemgr_get_header 3014
filemgr_alloc_multiple 3150
filemgr_sync 3615
_kvs_stat_get_sum 5503
fdb_log 8433
filemgr_get_next_alloc_block 13594
filemgr_update_header 13762
filemgr_commit 15304
_kvs_stat_get_kv_header 16490
filemgr_invalidate_block 35401
filemgr_alloc 105791
_ZL13_kvs_stat_cmpP8avl_nodeS0_Pv 150300
filemgr_alloc_multiple_cond 221763
_Z21_filemgr_get_temp_bufv 224906
_Z25_filemgr_release_temp_bufPv 224906
_Z20_filemgr_crc32_checkP7filemgrPv 228538
_ZL14_log_errno_strP11filemgr_opsP16err_log_callback10fdb_statusPKcS5_ 734455
filemgr_get_dirty_root 2412659
filemgr_set_seqnum 2435185
filemgr_get_seqnum 2438383
filemgr_is_rollback_on 2471039
filemgr_mutex_lock 2542918
filemgr_mutex_unlock 2542918
filemgr_get_header_revnum 3534784
_ZL20_block_is_overlappedPvS_S_S_S_ 4263923
_kvs_stat_get 4283558
_ZL15mutex_lock_wrapPv 7685490
_ZL17mutex_unlock_wrapPv 7685490
filemgr_write 8688976
filemgr_read 11062602
filemgr_get_pos 13202328
_ZL14spin_lock_wrapPv 15333019
_ZL16spin_unlock_wrapPv 15370980
filemgr_write_offset 18051487
_kvs_stat_update_attr 20874796
filemgr_is_writable 27379467
filemgr_get_file_status 45460186

Generated by: LCOV version 1.11