RetroArch
|
#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>
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) |
#define ra_clock_gettime clock_gettime |
#define VENDOR_INTEL_b 0x756e6547 |
#define VENDOR_INTEL_c 0x6c65746e |
#define VENDOR_INTEL_d 0x49656e69 |
cpu_features_get:
Gets CPU features..
Returns: bitmask of all CPU features available.
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.
retro_perf_tick_t cpu_features_get_perf_counter | ( | void | ) |
cpu_features_get_perf_counter:
Gets performance counter.
Returns: performance counter.
retro_time_t cpu_features_get_time_usec | ( | void | ) |
cpu_features_get_time_usec:
Gets time in microseconds.
Returns: time in microseconds.