* Record an unnecessary virtual function call. * * This method is invoked by the T_VIRTUAL_CALL() macro. */
| 271 | * This method is invoked by the T_VIRTUAL_CALL() macro. |
| 272 | */ |
| 273 | void profile_virtual_call(const std::type_info& type) { |
| 274 | int const skip = 1; // ignore this frame |
| 275 | Backtrace bt(skip); |
| 276 | Key k(&bt, type); |
| 277 | _record_backtrace(&virtual_calls, virtual_calls_mutex, &k); |
| 278 | } |
| 279 | |
| 280 | /** |
| 281 | * Record a call to a template processor with a protocol that is not the one |
nothing calls this directly
no test coverage detected