LCOV - code coverage report
Current view: top level - src/bin/pgbench - pgbench.c (source / functions) Hit Total Coverage
Test: PostgreSQL 18devel Lines: 2440 2840 85.9 %
Date: 2024-11-21 12:15:04 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 18
printSimpleStats 26
initTeller 40
canRetryError 50
free_command 58
tryExecuteStatement 60
commandFailed 64
syntax_error 66
allocCStatePrepared 68
setDoubleValue 78
prepareCommandsInPipeline 84
permute 90
executeStatement 118
evalLazyFunc 130
strtodouble 132
free_socket_set 148
parseQuery 148
printResults 148
alloc_socket_set 152
printVersion 152
threadRun 152
getFailures 170
coerceToDouble 208
coerceToBool 216
doLog 220
read_file_contents 234
process_file 236
parseScriptWeight 258
setBoolValue 278
disconnect_all 296
mergeSimpleStats 296
process_builtin 306
findBuiltin 312
main 332
set_random_seed 336
getPoissonRand 420
CheckConditional 470
addScript 474
postprocess_sql_command 490
ParseScript 540
doConnect 596
initRandomState 690
finishCon 900
is_an_int 914
putVariableInt 922
valueTruth 934
getMetaCommand 964
process_backslash_command 964
initStats 992
putVariable 1796
enlargeVariables 2106
valid_variable_name 2112
create_sql_command 2126
skip_sql_comments 2126
replaceVariable 2442
strtoint64 2502
parseVariable 3396
initSimpleStats 3700
makeVariableValue 3924
prepareCommand 3972
putVariableValue 4300
executeMetaCommand 4626
getQueryParams 5002
getVariable 5192
getrand 5758
lookupCreateVariable 6096
evalStandardFunc 6914
evalFunc 7040
isLazyFunc 7040
setIntValue 8274
coerceToInt 13256
getTransactionStatus 15372
processXactStats 15386
chooseScript 15466
lookupVariable 15816
assignVariables 16454
wait_on_socket_set 17790
accumStats 18086
evaluateExpr 18330
addToSimpleStats 19272
sendCommand 21456
pg_time_now_lazy 21464
readCommandResponse 21542
pg_time_now 23578
advanceConnectionState 35612
clear_socket_set 45176
add_socket_to_set 102782
compareVariableNames 106842
socket_has_input 128190
initAccount 400000

Generated by: LCOV version 1.14