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

Function profiling_msg_start

profiling.h:76–85  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

74}
75
76static inline void profiling_msg_start(struct sip_msg *msg, int route_type,
77 const char *route_name, int depth)
78{
79 profiling_handlers_t *handlers;
80 for (handlers = profiling_handlers; handlers; handlers = handlers->next)
81 if ((handlers->accepted_data_types & PROFILING_DATA_TYPE_SCRIPT) &&
82 handlers->on_start)
83 handlers->on_start(PROFILING_DATA_TYPE_SCRIPT, route_name,
84 route_type, depth, msg);
85}
86
87static inline void profiling_msg_end(struct sip_msg *msg, int route_type,
88 const char *route_name, int depth, int status)

Callers 1

run_top_routeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected