The FreeRADIUS server $Id: f3670dba8951ca10eb4948feb3dc3db9423a334f $
Loading...
Searching...
No Matches
Functions
xlat_profiling.c File Reference

Functions for controlling profilers attached to the running server. More...

#include <freeradius-devel/server/base.h>
#include <freeradius-devel/unlang/xlat_priv.h>
+ Include dependency graph for xlat_profiling.c:

Go to the source code of this file.

Functions

int xlat_profiling_init (void)
 Register the control functions for every profiler that the build compiled in.
 

Detailed Description

Functions for controlling profilers attached to the running server.

Id
5aa3f4df72f97d6dcc77de07a316dae86f1de12a

The comments in this file use the terms of each profiler. Callgrind counts costs (instruction fetches, cache misses, branch mispredictions) into one cost centre per function, and writes the cost centres as a profile dump. gperftools records samples of the program counter on a timer, and writes the samples to a profile file.

Definition in file xlat_profiling.c.

Function Documentation

◆ xlat_profiling_init()

int xlat_profiling_init ( void  )

Register the control functions for every profiler that the build compiled in.

Returns
  • 0 on success.
  • -1 on failure.

Definition at line 330 of file xlat_profiling.c.

+ Here is the caller graph for this function: