MCPcopy Create free account
hub / github.com/OpenSIPS/opensips / profiling_proc_end

Function profiling_proc_end

profiling.h:254–272  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

252
253
254static inline void profiling_proc_end(enum profiling_proc_level level,
255 int status)
256{
257 profiling_handlers_t *handlers;
258
259 if (!profiling_proc_level_enabled(level))
260 return;
261
262 if (profiling_proc_pending_no) {
263 profiling_proc_pending_no--;
264 return;
265 }
266
267 for (handlers = profiling_handlers; handlers; handlers = handlers->next)
268 if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_PROC) &&
269 handlers->on_end)
270 handlers->on_end(PROFILING_DATA_TYPE_PROC, pt[process_no].desc,
271 pt[process_no].type, proc_depth, status, NULL);
272}
273
274
275#define profiling_proc_enter( _level, _name, _with_next ) \

Callers 9

handle_ioFunction · 0.85
answer_to_connectionFunction · 0.85
mi_fifo_callbackFunction · 0.85
rtpengine_io_callbackFunction · 0.85
mi_datagram_callbackFunction · 0.85
rtpproxy_io_callbackFunction · 0.85
rtpproxy_io_new_callbackFunction · 0.85
handle_ioFunction · 0.85
handle_ioFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected