master/master.h
changeset 335 1e37c856b74e
parent 334 2be97e069602
child 344 5d8281f1aa2a
--- a/master/master.h	Fri Aug 04 09:53:14 2006 +0000
+++ b/master/master.h	Fri Aug 04 13:49:22 2006 +0000
@@ -115,10 +115,12 @@
 
     struct workqueue_struct *workqueue; /**< master workqueue */
     struct work_struct idle_work; /**< free run work object */
-    uint32_t idle_cycle_time; /**< Idle cycle time */
+    uint32_t idle_cycle_times[HZ]; /**< Idle cycle times ring */
+    unsigned int idle_cycle_time_pos; /**< time ring buffer position */
 
     struct timer_list eoe_timer; /**< EoE timer object */
-    uint32_t eoe_cycle_time; /**< EoE cycle time */
+    uint32_t eoe_cycle_times[HZ]; /**< EoE cycle times ring */
+    unsigned int eoe_cycle_time_pos; /**< time ring buffer position */
     unsigned int eoe_running; /**< non-zero, if EoE processing is active. */
     unsigned int eoe_checked; /**< non-zero, if EoE processing is not
                                  necessary. */