IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 15797


Ignore:
Timestamp:
Dec 12, 2007, 12:18:48 PM (18 years ago)
Author:
eugene
Message:

various debug lines to test comm collisions

Location:
trunk/Ohana/src/opihi
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/opihi/include/pantasks.h

    r15754 r15797  
    66# include <time.h>
    77# include <zlib.h>
     8
     9# define DEBUG 0
    810
    911typedef enum {
  • trunk/Ohana/src/opihi/pantasks/CheckJobs.c

    r13540 r15797  
    5151        /* push output buffer data to the stdout and stderr queues */
    5252        /* XXX this will break on 0 values in output streams */
     53        if (DEBUG) fprintf (stderr, "job: (%x) %d of %d\n", job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc);
    5354        PushNamedQueue ("stdout", job[0].stdout_buff.buffer);
    5455        PushNamedQueue ("stderr", job[0].stderr_buff.buffer);
  • trunk/Ohana/src/opihi/pantasks/CheckTasks.c

    r14069 r15797  
    7373    /* construct job from task */
    7474    job = CreateJob (task);
     75    if (DEBUG) fprintf (stderr, "create job: (%x) %d of %d\n", job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc);
    7576
    7677    // gettimeofday (&now, (void *) NULL);
  • trunk/Ohana/src/opihi/pantasks/JobOps.c

    r13540 r15797  
    251251
    252252  if (job[0].mode == JOB_LOCAL) {
     253    if (DEBUG) fprintf (stderr, "submit job: (%x) %d of %d\n", job[0].stdout_buff.buffer, job[0].stdout_buff.Nbuffer, job[0].stdout_buff.Nalloc);
    253254    SubmitLocalJob (job);
    254255  } else {
Note: See TracChangeset for help on using the changeset viewer.