The FreeRADIUS server  $Id: 15bac2a4c627c01d1aa2047687b3418955ac7f00 $
Macros | Functions
hw.c File Reference

Functions for getting information about the system architecture. More...

#include <freeradius-devel/util/hw.h>
#include <freeradius-devel/util/syserror.h>
#include <freeradius-devel/util/strerror.h>
#include <errno.h>
+ Include dependency graph for hw.c:

Go to the source code of this file.

Macros

#define CACHE_LINE_DEFAULT   128
 
#define CORES_DEFAULT   1
 

Functions

size_t fr_hw_cache_line_size (void)
 
uint32_t fr_hw_num_cores_active (void)
 

Detailed Description

Functions for getting information about the system architecture.

Author
Arran Cudbard-Bell (a.cud.nosp@m.bard.nosp@m.b@fre.nosp@m.erad.nosp@m.ius.o.nosp@m.rg)

Definition in file hw.c.

Macro Definition Documentation

◆ CACHE_LINE_DEFAULT

#define CACHE_LINE_DEFAULT   128

Definition at line 24 of file hw.c.

◆ CORES_DEFAULT

#define CORES_DEFAULT   1

Definition at line 25 of file hw.c.

Function Documentation

◆ fr_hw_cache_line_size()

size_t fr_hw_cache_line_size ( void  )

Definition at line 117 of file hw.c.

◆ fr_hw_num_cores_active()

uint32_t fr_hw_num_cores_active ( void  )

Definition at line 122 of file hw.c.

+ Here is the caller graph for this function: