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

Function profiling_enabled

profiling.h:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64void unregister_profiling_handler(profiling_handlers_t *handlers);
65
66static inline int profiling_enabled(unsigned int data_type_mask)
67{
68 profiling_handlers_t *handlers;
69
70 for (handlers = profiling_handlers; handlers; handlers = handlers->next)
71 if (handlers->accepted_data_types & data_type_mask)
72 return 1;
73 return 0;
74}
75
76static inline void profiling_msg_start(struct sip_msg *msg, int route_type,
77 const char *route_name, int depth)

Callers 2

run_top_routeFunction · 0.85
do_actionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected