Go to the source code of this file.
◆ os_cpu_get_attribute()
Definition at line 30 of file os_cpu_utils.c.
31{
32#if defined(__linux__)
34#elif defined(__APPLE__) || defined(__MACH__)
35 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
37#endif
39}
int linux_cpu_get_attribute(CPU_attr_e attr, int *value)
◆ os_cpu_get_attribute_at()
Definition at line 42 of file os_cpu_utils.c.
43{
44#if defined(__linux__)
46#elif defined(__APPLE__) || defined(__MACH__)
47 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
49#endif
51}
int linux_cpu_get_attribute_at(CPU_attr_e attr, int loc, int *value)
◆ os_cpu_get_name()
| int os_cpu_get_name |
( |
char * |
name | ) |
|
Definition at line 18 of file os_cpu_utils.c.
19{
20#if defined(__linux__)
22#elif defined(__APPLE__) || defined(__MACH__)
23 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
25#endif
27}
int linux_cpu_get_name(char *name)
◆ os_cpu_get_num_supported()
| int os_cpu_get_num_supported |
( |
void |
| ) |
|
Definition at line 66 of file os_cpu_utils.c.
67{
68#if defined(__linux__)
70#elif defined(__APPLE__) || defined(__MACH__)
71 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
73#endif
75}
int linux_cpu_get_num_supported(void)
◆ os_cpu_get_vendor()
| int os_cpu_get_vendor |
( |
char * |
vendor | ) |
|
Definition at line 6 of file os_cpu_utils.c.
7{
8#if defined(__linux__)
10#elif defined(__APPLE__) || defined(__MACH__)
11 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
13#endif
15}
int linux_cpu_get_vendor(char *vendor)
◆ os_cpu_load_affinity()
| int os_cpu_load_affinity |
( |
void |
| ) |
|
Definition at line 90 of file os_cpu_utils.c.
91{
92#if defined(__linux__)
94#elif defined(__APPLE__) || defined(__MACH__)
95 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
97#endif
99}
int linux_cpu_load_affinity(void)
◆ os_cpu_set_affinity()
| int os_cpu_set_affinity |
( |
int |
cpu | ) |
|
Definition at line 54 of file os_cpu_utils.c.
55{
56#if defined(__linux__)
58#elif defined(__APPLE__) || defined(__MACH__)
59 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
61#endif
63}
int linux_cpu_set_affinity(int cpu)
◆ os_cpu_store_affinity()
| int os_cpu_store_affinity |
( |
void |
| ) |
|
Definition at line 78 of file os_cpu_utils.c.
79{
80#if defined(__linux__)
82#elif defined(__APPLE__) || defined(__MACH__)
83 #warning "WARNING! Darwin support of " __func__ " not yet implemented."
85#endif
87}
int linux_cpu_store_affinity(void)