IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Feb 10, 2016, 9:36:41 AM (10 years ago)
Author:
eugene
Message:

add more memcheck options

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Ohana/src/libfits/table/F_compress_T.c

    r38986 r39335  
    33# include <zlib.h>
    44# define VERBOSE_DUMP 0
     5# define OHANA_MEMCHECK 0
     6# define OHANA_MEMCHECK_SUPER_VERBOSE 0
    57
    68// the user needs to specify the various compression options:
     
    223225  gettimeofday (&startTimer, (void *) NULL);
    224226
    225   // ohana_memcheck (TRUE);
     227  if (OHANA_MEMCHECK) ohana_memcheck (TRUE);
    226228
    227229  // compress the data : copy into a tile, compress the tile, then add to the output table
     
    245247      }
    246248     
    247       // ohana_memcheck (TRUE);
     249      if (OHANA_MEMCHECK_SUPER_VERBOSE) ohana_memcheck (TRUE);
    248250
    249251      // XXX TIMER 2a
     
    264266      }
    265267
    266       // ohana_memcheck (TRUE);
     268      if (OHANA_MEMCHECK_SUPER_VERBOSE) ohana_memcheck (TRUE);
    267269      // optname, optvalue = NULL, Noptions = 0
    268270     
     
    343345    }
    344346  }
     347  if (OHANA_MEMCHECK) ohana_memcheck (TRUE);
    345348
    346349  for (i = 0; i < Nfields; i++) {
Note: See TracChangeset for help on using the changeset viewer.