master/master.h
changeset 335 1e37c856b74e
parent 334 2be97e069602
child 344 5d8281f1aa2a
equal deleted inserted replaced
334:2be97e069602 335:1e37c856b74e
   113     int debug_level; /**< master debug level */
   113     int debug_level; /**< master debug level */
   114     ec_stats_t stats; /**< cyclic statistics */
   114     ec_stats_t stats; /**< cyclic statistics */
   115 
   115 
   116     struct workqueue_struct *workqueue; /**< master workqueue */
   116     struct workqueue_struct *workqueue; /**< master workqueue */
   117     struct work_struct idle_work; /**< free run work object */
   117     struct work_struct idle_work; /**< free run work object */
   118     uint32_t idle_cycle_time; /**< Idle cycle time */
   118     uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
       
   119     unsigned int idle_cycle_time_pos; /**< time ring buffer position */
   119 
   120 
   120     struct timer_list eoe_timer; /**< EoE timer object */
   121     struct timer_list eoe_timer; /**< EoE timer object */
   121     uint32_t eoe_cycle_time; /**< EoE cycle time */
   122     uint32_t eoe_cycle_times[HZ]; /**< EoE cycle times ring */
       
   123     unsigned int eoe_cycle_time_pos; /**< time ring buffer position */
   122     unsigned int eoe_running; /**< non-zero, if EoE processing is active. */
   124     unsigned int eoe_running; /**< non-zero, if EoE processing is active. */
   123     unsigned int eoe_checked; /**< non-zero, if EoE processing is not
   125     unsigned int eoe_checked; /**< non-zero, if EoE processing is not
   124                                  necessary. */
   126                                  necessary. */
   125     struct list_head eoe_handlers; /**< Ethernet-over-EtherCAT handlers */
   127     struct list_head eoe_handlers; /**< Ethernet-over-EtherCAT handlers */
   126 
   128