Changeset 11055 for trunk/Ohana/src/opihi/include/pantasks.h
- Timestamp:
- Jan 11, 2007, 4:51:41 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/include/pantasks.h (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/include/pantasks.h
r10694 r11055 28 28 29 29 enum {RANGE_ABS, RANGE_DAY, RANGE_WEEK}; 30 enum {TIMER_ALLJOBS, TIMER_SUCCESS, TIMER_FAILURE}; 30 31 31 32 enum {TASK_NONE, … … 42 43 TASK_OPTIONS, 43 44 TASK_PERIODS, 45 TASK_NPENDING, 44 46 TASK_EXIT, 45 47 TASK_EXEC … … 86 88 int Njobs; 87 89 90 int Npending; // number of currently pending jobs 91 int NpendingMax; // max number of pending jobs allowed 92 88 93 float poll_period; 89 94 float exec_period; … … 95 100 int Nfailure; 96 101 int Ntimeout; 102 103 double dtimeAve_alljobs, dtimeMin_alljobs, dtimeMax_alljobs; 104 double dtimeAve_success, dtimeMin_success, dtimeMax_success; 105 double dtimeAve_failure, dtimeMin_failure, dtimeMax_failure; 97 106 98 107 int active; … … 140 149 int stdout_fd; /* stdout pipe (local only) */ 141 150 int stderr_fd; /* stderr pipe (local only) */ 151 152 double dtime; 142 153 } Job; 143 154 … … 167 178 int RemoveTask (Task *task); 168 179 Task *SetNewTask (Task *task); 180 void ListTaskStats (); 181 void UpdateTaskTimerStats (Task *task, int mode, double dtime); 169 182 170 183 int NextJobID ();
Note:
See TracChangeset
for help on using the changeset viewer.
