LCOV - code coverage report
Current view: top level - src/bin/pgbench - pgbench.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2446 2846 85.9 %
Date: 2025-01-29 21:14:48 Functions: 120 125 96.0 %
Legend: Lines: hit not hit

Function Name Sort by function name Hit count Sort by hit count
discardUntilSync 0
getResultString 0
handle_sig_alarm 0
printProgressReport 0
setalarm 0
getHashFnv1a 2
initGenerateDataServerSide 2
usage 2
commandError 4
createPartitions 4
doRetry 4
initBranch 4
initCreateFKeys 4
initGenerateDataClientSide 4
initVacuum 4
printVerboseErrorMessages 4
computeIterativeZipfian 6
getExponentialRand 6
getGaussianRand 6
getZipfianRand 6
initCreatePKeys 6
initCreateTables 6
initDropTables 6
initTruncateTables 6
listAvailableScripts 6
runInitSteps 6
checkInitSteps 8
setNullValue 8
valueTypeName 8
getHashMurmur2 10
ConditionError 12
evaluateSleep 12
initPopulateTable 12
runShellCommand 12
GetTableInfo 14
getSQLErrorStatus 26
printSimpleStats 26
initTeller 40
free_command 58
tryExecuteStatement 60
commandFailed 64
canRetryError 66
syntax_error 66
allocCStatePrepared 68
setDoubleValue 78
prepareCommandsInPipeline 84
permute 90
executeStatement 118
evalLazyFunc 130
strtodouble 132
free_socket_set 170
printResults 170
alloc_socket_set 174
printVersion 174
threadRun 174
parseQuery 188
getFailures 192
coerceToDouble 208
coerceToBool 216
doLog 220
read_file_contents 256
process_file 258
setBoolValue 278
parseScriptWeight 280
process_builtin 306
findBuiltin 312
disconnect_all 340
mergeSimpleStats 340
main 354
set_random_seed 358
getPoissonRand 420
CheckConditional 492
addScript 496
postprocess_sql_command 560
ParseScript 562
doConnect 640
initRandomState 778
is_an_int 888
valueTruth 918
finishCon 966
putVariableInt 1010
getMetaCommand 1052
process_backslash_command 1052
initStats 1080
putVariable 1770
enlargeVariables 2194
valid_variable_name 2200
create_sql_command 2306
skip_sql_comments 2306
strtoint64 2476
replaceVariable 2478
parseVariable 3406
makeVariableValue 3886
prepareCommand 3996
initSimpleStats 4034
putVariableValue 4388
executeMetaCommand 4664
getQueryParams 5066
getVariable 5252
getrand 5746
lookupCreateVariable 6158
evalStandardFunc 6890
evalFunc 7016
isLazyFunc 7016
setIntValue 8312
coerceToInt 13208
getTransactionStatus 15386
processXactStats 15400
chooseScript 15488
lookupVariable 15988
assignVariables 16596
wait_on_socket_set 16888
accumStats 18100
evaluateExpr 18266
addToSimpleStats 19286
pg_time_now_lazy 21486
sendCommand 21662
readCommandResponse 21752
pg_time_now 23754
advanceConnectionState 36022
clear_socket_set 41786
add_socket_to_set 95736
compareVariableNames 107174
socket_has_input 118228
initAccount 400000

Generated by: LCOV version 1.14