- Timestamp:
- Jul 6, 2015, 8:10:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/eam_branches/ipp-20150625/Ohana/src/opihi/pantasks/CheckJobs.c
r27614 r38573 1 1 # include "pantasks.h" 2 static int Ncheck = 0; 2 3 3 4 float CheckJobs () { … … 12 13 float time_running, next_timeout; 13 14 14 // int Ncheck; 15 // Ncheck = 0; 15 Ncheck ++; 16 16 17 17 // actual maximum delay is controlled in job_threads.c … … 21 21 /** test all jobs: ready to test? finished? **/ 22 22 while ((job = NextJob ()) != NULL) { 23 // Ncheck ++;24 23 25 24 task = job[0].task; … … 220 219 SetTaskTimer (&job[0].last); 221 220 } 222 // fprintf (stderr, "check %d jobs\n", Ncheck); 221 223 222 JobTaskUnlock(); 224 223 return (next_timeout);
Note:
See TracChangeset
for help on using the changeset viewer.
