SST/macro
sstmac_sched_macro.h
Go to the documentation of this file.
1 #ifndef SSTMAC_SCHED_MACRO_H
2 #define SSTMAC_SCHED_MACRO_H
3 
4 /* Set scheduling parameters for a process. */
5 #define sched_setparam SSTMAC_sched_setparam
6 #define sched_getparam SSTMAC_sched_getparam
7 #define sched_setscheduler SSTMAC_sched_setscheduler
8 #define sched_getscheduler SSTMAC_sched_getscheduler
9 #define sched_yield SSTMAC_sched_yield
10 #define sched_get_priority_max SSTMAC_sched_get_priority_max
11 #define sched_get_priority_min SSTMAC_sched_get_priority_min
12 #define sched_rr_get_interval SSTMAC_sched_rr_get_interval
13 
14 #define SCHED_FIFO SSTMAC_SCHED_FIFO
15 #define SCHED_RR SSTMAC_SCHED_RR
16 #define SCHED_DEADLINE SSTMAC_SCHED_DEADLINE
17 #define SCHED_OTHER SSTMAC_SCHED_OTHER
18 #define SCHED_BATCH SSTMAC_SCHED_BATCH
19 #define SCHED_IDLE SSTMAC_SCHED_IDLE
20 
21 #define CPU_SETSIZE SSTMAC_CPU_SETSIZE
22 #define CPU_SET SSTMAC_CPU_SET
23 #define CPU_CLR SSTMAC_CPU_CLR
24 #define CPU_ISSET SSTMAC_CPU_ISSET
25 #define CPU_ZERO SSTMAC_CPU_ZERO
26 #define CPU_COUNT SSTMAC_CPU_COUNT
27 #define CPU_SET_S SSTMAC_CPU_SET_S
28 #define CPU_CLR_S SSTMAC_CPU_CLR_S
29 #define CPU_ISSET_S SSTMAC_CPU_ISSET_S
30 #define CPU_ZERO_S SSTMAC_CPU_ZERO_S
31 #define CPU_COUNT_S SSTMAC_CPU_COUNT_S
32 
33 #define CPU_EQUAL SSTMAC_CPU_EQUAL
34 #define CPU_EQUAL_S SSTMAC_CPU_EQUAL_S
35 #define CPU_AND SSTMAC_CPU_AND
36 #define CPU_OR SSTMAC_CPU_OR
37 #define CPU_XOR SSTMAC_CPU_XOR
38 #define CPU_AND_S SSTMAC_CPU_AND_S
39 #define CPU_OR_S SSTMAC_CPU_OR_S
40 #define CPU_XOR_S SSTMAC_CPU_XOR_S
41 
42 #define CPU_ALLOC_SIZE SSTMAC_CPU_ALLOC_SIZE
43 #define CPU_ALLOC SSTMAC_CPU_ALLOC
44 #define CPU_FREE SSTMAC_CPU_FREE
45 
46 /* Set the CPU affinity for a task */
47 #define sched_setaffinity SSTMAC_sched_setaffinity
48 #define sched_getaffinity SSTMAC_sched_getaffinity
49 
50 #define cpu_set_t sstmac_cpu_set_t
51 
52 #endif // SSTMAC_SCHED_MACRO_H