diff -r 003cc3c63855 -r f49e5a6b7804 doc/doxygen/html/timer_8c.html
--- a/doc/doxygen/html/timer_8c.html Fri Jun 08 09:02:43 2007 +0200
+++ b/doc/doxygen/html/timer_8c.html Fri Jun 08 09:23:56 2007 +0200
@@ -1,6 +1,6 @@
@@ -28,14 +49,14 @@
#define | min_val(a, b) ((a<b)?a:b) |
Functions |
-TIMER_HANDLE | SetAlarm (CO_Data *d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period) |
+TIMER_HANDLE | SetAlarm (CO_Data *d, UNS32 id, TimerCallback_t callback, TIMEVAL value, TIMEVAL period) |
TIMER_HANDLE | DelAlarm (TIMER_HANDLE handle) |
void | TimeDispatch () |
Variables |
-s_timer_entry | timers [MAX_NB_TIMER] = {{TIMER_FREE, NULL, NULL, 0, 0, 0},} |
+s_timer_entry | timers [MAX_NB_TIMER] = {{TIMER_FREE, NULL, NULL, 0, 0, 0},} |
TIMEVAL | total_sleep_time = TIMEVAL_MAX |
@@ -102,11 +123,9 @@
- Returns:
-Quick and dirty. system timer will continue to be trigged, but no action will be preformed.
-
Definition at line 112 of file timer.c.
-References last_timer_raw, and timers.
+References last_timer_raw, MSG_WAR, struct_s_timer_entry::state, and timers.
Referenced by heartbeatStop(), proceedNODE_GUARD(), ProducerHearbeatAlarm(), and stopSYNC().
@@ -118,7 +137,7 @@
TIMER_HANDLE SetAlarm |
( |
- CO_Data * |
+ CO_Data * |
d, |
@@ -130,7 +149,7 @@
|
|
- TimerCallback_t |
+ TimerCallback_t |
callback, |
@@ -168,20 +187,11 @@
- Returns:
-in order to decide new timer setting we have to run over all timer rows
-if something to store
-and empty row
-just store
-if successfull
-set next wakeup alarm if new entry is sooner than others, or if it is alone
-printf("elapsed_time=%d real_timer_value=%d total_sleep_time=%d\n", elapsed_time, real_timer_value, total_sleep_time);
-printf("SetAlarm() return %d\n", row_number);
-
Definition at line 57 of file timer.c.
-References last_timer_raw, and timers.
-
-Referenced by heartbeatInit(), proceedNODE_GUARD(), and startSYNC().
+References struct_s_timer_entry::d, last_timer_raw, MAX_NB_TIMER, TIMER_HANDLE, and timers.
+
+Referenced by heartbeatInit(), proceedNODE_GUARD(), startSYNC(), and StartTimerLoop().
@@ -191,6 +201,7 @@
void TimeDispatch |
( |
+ void |
|
) |
|
@@ -202,27 +213,17 @@
------ TimeDispatch is called on each timer expiration ----
-used to compute when should normaly occur next wakeup
-First run : change timer state depending on time
-Get time since timer signal
-if row is active
-to be trigged
-if simply outdated
-ask for trig
-or period have expired
-set val as interval, with overrun correction
-Check if this new timer value is the soonest
-Each armed timer value in decremented.
-Check if this new timer value is the soonest
-Remember how much time we should sleep.
-Set timer to soonest occurence
-Then trig them or not.
-reset trig state (will be free if not periodic)
-trig !
-
Definition at line 131 of file timer.c.
-References last_timer_raw, min_val, timers, and total_sleep_time.
+References getElapsedTime(), last_timer_raw, min_val, TIMER_HANDLE, timers, TIMEVAL, TIMEVAL_MAX, and total_sleep_time.
+
+Referenced by class_timers::timer_loop_thread_proc(), timer_notify(), and timerloop_task_proc().
+
+Here is the call graph for this function:
+
+
Variable Documentation
@@ -250,7 +251,7 @@
- s_timer_entry timers[MAX_NB_TIMER] = {{TIMER_FREE, NULL, NULL, 0, 0, 0},} |
+ s_timer_entry timers[MAX_NB_TIMER] = {{TIMER_FREE, NULL, NULL, 0, 0, 0},} |
@@ -283,7 +284,7 @@
Referenced by TimeDispatch().
-
Generated on Tue Jun 5 18:32:11 2007 for CanFestival by
+
Generated on Fri Jun 8 08:52:17 2007 for CanFestival by
1.5.1