Tizen Native API
5.5
|
Cpu and architecture related helpers.
Functions | |
Eina_Cpu_Features | eina_cpu_features_get (void) |
Cpu features accessor. | |
int | eina_cpu_count (void) |
Gets the current number of processors. | |
int | eina_cpu_page_size (void) |
Gets the current virtual page size. | |
static unsigned short | eina_swap16 (unsigned short x) |
Reverses the byte order of a 16-bit (destination) register. | |
static unsigned int | eina_swap32 (unsigned int x) |
Reverses the byte order of a 32-bit (destination) register. | |
static unsigned long long | eina_swap64 (unsigned long long x) |
Reverses the byte order of a 64-bit (destination) register. | |
Typedefs | |
typedef enum _Eina_Cpu_Features | Eina_Cpu_Features |
Enumerates different hardware architectures.
int eina_cpu_count | ( | void | ) |
Gets the current number of processors.
Eina_Cpu_Features eina_cpu_features_get | ( | void | ) |
Cpu features accessor.
int eina_cpu_page_size | ( | void | ) |
Gets the current virtual page size.
static unsigned short eina_swap16 | ( | unsigned short | x | ) | [static] |
Reverses the byte order of a 16-bit (destination) register.
[in] | x | The binary word to swap |
On big endian systems, the number is converted to little endian byte order. On little endian systems, the number is converted to big endian byte order.
static unsigned int eina_swap32 | ( | unsigned int | x | ) | [static] |
Reverses the byte order of a 32-bit (destination) register.
[in] | x | The binary word to swap |
On big endian systems, the number is converted to little endian byte order. On little endian systems, the number is converted to big endian byte order.
static unsigned long long eina_swap64 | ( | unsigned long long | x | ) | [static] |
Reverses the byte order of a 64-bit (destination) register.
[in] | x | The binary word to swap |
On big endian systems, the number is converted to little endian byte order. On little endian systems, the number is converted to big endian byte order.
Global hardware architecture handler.