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 <fcntl.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
0b3059a7b886fb58ea5c574d46c689652874faf5

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 331 of file xlat_profiling.c.

+ Here is the caller graph for this function: