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

Function register_profiling_handler

profiling.c:279–294  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

277}
278
279int register_profiling_handler(profiling_handlers_t *handlers)
280{
281 profiling_handlers_t *it;
282
283 if (!handlers)
284 return -1;
285
286 for (it = profiling_handlers; it; it = it->next) {
287 if (it == handlers)
288 return 0;
289 }
290
291 handlers->next = profiling_handlers;
292 profiling_handlers = handlers;
293 return 0;
294}
295
296void unregister_profiling_handler(profiling_handlers_t *handlers)
297{

Callers 2

init_profilingFunction · 0.85
mod_initFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected