PAPI 7.1.0.0
Loading...
Searching...
No Matches
pfmlib_priv_ia64.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  br_mask_reg_t
 
union  dbreg_t
 

Functions

static int pfm_ia64_get_cpu_family (void)
 
static int pfm_ia64_get_cpu_model (void)
 
static int pfm_ia64_fls (unsigned long x)
 

Function Documentation

◆ pfm_ia64_fls()

static int pfm_ia64_fls ( unsigned long  x)
inlinestatic

Definition at line 57 of file pfmlib_priv_ia64.h.

58{
59 double d = x;
60 long exp;
61
62 exp = ia64_getf(d);
63 return exp - 0xffff;
64
65}
volatile double x
Here is the caller graph for this function:

◆ pfm_ia64_get_cpu_family()

static int pfm_ia64_get_cpu_family ( void  )
inlinestatic

Definition at line 42 of file pfmlib_priv_ia64.h.

43{
44 return (int)((ia64_get_cpuid(3) >> 24) & 0xff);
45}
Here is the caller graph for this function:

◆ pfm_ia64_get_cpu_model()

static int pfm_ia64_get_cpu_model ( void  )
inlinestatic

Definition at line 48 of file pfmlib_priv_ia64.h.

49{
50 return (int)((ia64_get_cpuid(3) >> 16) & 0xff);
51}