IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jan 11, 2007, 4:51:41 PM (20 years ago)
Author:
eugene
Message:

added timing stats, npending limit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/pantasks/CheckTasks.c

    r10694 r11055  
    1818    if (!CheckTimeRanges (task[0].ranges, task[0].Nranges)) continue;
    1919    if (task[0].Nmax && (task[0].Njobs >= task[0].Nmax)) continue;
     20    if (task[0].NpendingMax && (task[0].Npending >= task[0].NpendingMax)) continue;
    2021
    2122    /* ready to run? : run task.exec macro */
     
    3536    gettimeofday (&task[0].last, (void *) NULL);
    3637    task[0].Njobs ++;
     38    task[0].Npending ++;
    3739
    3840    /* increment Nrun for inclusive ranges with Nmax */
Note: See TracChangeset for help on using the changeset viewer.