Does anyone have any statistics on the proportion of function calls via
function pointers, the proportion via virtual functions, the proportion
inlined, and the proportion that use ordinary direct function calls in
typical C or C++ programs?

Basically I'm trying to estimate the performance impact on C++ code of
a change that would slow down calls via function pointers (but not
direct calls or virtual calls) by about the cost of a direct call.