master/master.h
changeset 525 8b20781bd1e0
parent 495 88c597598bbc
child 528 f789bdd78b54
equal deleted inserted replaced
524:5ffcb9b9f17d 525:8b20781bd1e0
   116     struct list_head domains; /**< list of domains */
   116     struct list_head domains; /**< list of domains */
   117 
   117 
   118     int debug_level; /**< master debug level */
   118     int debug_level; /**< master debug level */
   119     ec_stats_t stats; /**< cyclic statistics */
   119     ec_stats_t stats; /**< cyclic statistics */
   120 
   120 
   121     struct workqueue_struct *workqueue; /**< master workqueue */
   121     int thread_id; /**< master thread PID */
   122     struct work_struct idle_work; /**< free run work object */
   122     struct completion thread_exit; /**< thread completion object */
   123     uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
   123     uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
   124     unsigned int idle_cycle_time_pos; /**< time ring buffer position */
   124     unsigned int idle_cycle_time_pos; /**< time ring buffer position */
   125 
   125 
   126     struct timer_list eoe_timer; /**< EoE timer object */
   126     struct timer_list eoe_timer; /**< EoE timer object */
   127     uint32_t eoe_cycle_times[HZ]; /**< EoE cycle times ring */
   127     uint32_t eoe_cycle_times[HZ]; /**< EoE cycle times ring */