]> rtime.felk.cvut.cz Git - frescor/frsh-include.git/blobdiff - frsh_hierarchical_types.h
const
[frescor/frsh-include.git] / frsh_hierarchical_types.h
index ee2d16ec543160a226edfa8789e965fec5c0f8dc..8eaa53bd47522c5cf1bd838509954ba0367e3348 100644 (file)
@@ -97,7 +97,7 @@ typedef enum {FRSH_FP, FRSH_EDF, FRSH_TABLE_DRIVEN, FRSH_RR, FRSH_NONE}
  * 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
  **/
@@ -112,9 +112,9 @@ typedef struct {
  * list of target windows 
  **/
 typedef struct {
-   struct timespec   start;
-   struct timespec   end;
-   struct timespec   comp_time;
+   frsh_rel_time_t   start;
+   frsh_rel_time_t   end;
+   frsh_rel_time_t   comp_time;
 } frsh_target_window_t;
 
 /**
@@ -132,8 +132,8 @@ typedef struct {
  * 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;