IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Aug 15, 2005, 2:02:47 PM (21 years ago)
Author:
eugene
Message:

adding run/stop control to psched/pcontrol interface

File:
1 edited

Legend:

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

    r4763 r4767  
    22
    33# define MAX_DELAY 0.1
    4 struct timeval start;
     4struct timeval start, last;
    55static int Ncheck = 0;
    66
    77int CheckSystem () {
    88
     9  float dtime;
     10  struct timeval now;
     11
    912  gettimeofday (&start, (void *) NULL);
    1013
    11   if (Ncheck < 20) {
     14  if (Ncheck < 100) {
    1215    CheckTasks ();
    1316    CheckJobs ();
     
    1821    Ncheck = 0;
    1922  }
     23  /* ohana_memcheck (FALSE); */
    2024  return (TRUE);
    2125}
Note: See TracChangeset for help on using the changeset viewer.