RetroArch
Macros | Functions
features_cpu.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <compat/strl.h>
#include <streams/file_stream.h>
#include <libretro.h>
#include <features/features_cpu.h>
#include <retro_timers.h>
#include <string.h>
Include dependency graph for features_cpu.c:
This graph shows which files directly or indirectly include this file:

Macros

#define ra_clock_gettime   clock_gettime
 
#define VENDOR_INTEL_b   0x756e6547
 
#define VENDOR_INTEL_c   0x6c65746e
 
#define VENDOR_INTEL_d   0x49656e69
 

Functions

retro_perf_tick_t cpu_features_get_perf_counter (void)
 
retro_time_t cpu_features_get_time_usec (void)
 
unsigned cpu_features_get_core_amount (void)
 
uint64_t cpu_features_get (void)
 

Macro Definition Documentation

◆ ra_clock_gettime

#define ra_clock_gettime   clock_gettime

◆ VENDOR_INTEL_b

#define VENDOR_INTEL_b   0x756e6547

◆ VENDOR_INTEL_c

#define VENDOR_INTEL_c   0x6c65746e

◆ VENDOR_INTEL_d

#define VENDOR_INTEL_d   0x49656e69

Function Documentation

◆ cpu_features_get()

uint64_t cpu_features_get ( void  )

cpu_features_get:

Gets CPU features..

Returns: bitmask of all CPU features available.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_features_get_core_amount()

unsigned cpu_features_get_core_amount ( void  )

cpu_features_get_core_amount:

Gets the amount of available CPU cores.

Returns: amount of CPU cores available.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_features_get_perf_counter()

retro_perf_tick_t cpu_features_get_perf_counter ( void  )

cpu_features_get_perf_counter:

Gets performance counter.

Returns: performance counter.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ cpu_features_get_time_usec()

retro_time_t cpu_features_get_time_usec ( void  )

cpu_features_get_time_usec:

Gets time in microseconds.

Returns: time in microseconds.

Here is the call graph for this function:
Here is the caller graph for this function: