#include <time.h>
+FRSH_CPP_BEGIN_DECLS
+
/**
* @addtogroup hierarchical
*
* The params member is a pointer to one of the
* following:
* FP: int (priority)
- * EDF: struct timespec (deadline)
+ * EDF: frsh_rel_time_t (deadline)
* RR: none
* TABLE_DRIVEN : struct frsh_table_driven_params_t
**/
* list of target windows
**/
typedef struct {
- struct timespec start;
- struct timespec end;
- struct timespec comp_time;
-} frsh_target_window;
+ frsh_rel_time_t start;
+ frsh_rel_time_t end;
+ frsh_rel_time_t comp_time;
+} frsh_target_window_t;
/**
* Container for a frsh_target_window array
**/
typedef struct {
int size;
- frsh_target_window table[FRSH_MAX_N_TARGET_WINDOWS];
+ frsh_target_window_t table[FRSH_MAX_N_TARGET_WINDOWS];
} frsh_table_driven_params_t;
* It shall be one of the following:
* FP: none
* EDF: none
- * RR: struct timespec (slice duration)
- * TABLE_DRIVEN : struct timespec (schedule duration)
+ * RR: frsh_rel_time_t (slice duration)
+ * TABLE_DRIVEN : frsh_rel_time_t (schedule duration)
**/
typedef void * frsh_sched_init_info_t;
/*}*/
+FRSH_CPP_END_DECLS
+
#endif /* !FRSH_HIERARCHICAL_TYPES_H_ */