IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Jun 6, 2015, 8:40:19 PM (11 years ago)
Author:
eugene
Message:

trying to improve the speed of the compression shuffle step; added NONE_1 for testing; added timing traces in uncompress to test speed improvements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ohana.20150429/src/libfits/table/F_uncompress_T.c

    r38415 r38418  
    6060  fprintf (stderr, "times: %f %f %f\n", timeSum1, timeSum2, timeSum3);
    6161  fprintf (stderr, "times: %f %f %f %f %f %f\n", timeSum2a, timeSum2b, timeSum2c, timeSum2d, timeSum2e, timeSum2f);
     62
     63  timeSum1 = 0.0;
     64  timeSum2 = 0.0;
     65  timeSum2a = 0.0;
     66  timeSum2b = 0.0;
     67  timeSum2c = 0.0;
     68  timeSum2d = 0.0;
     69  timeSum2e = 0.0;
     70  timeSum2f = 0.0;
     71  timeSum3 = 0.0;
    6272}
    6373
     
    346356  char *tblbuffer = &table->buffer[Nx*row_start + field->offset];
    347357
     358  int rowsize = field->rowsize;
     359
    348360  if (VERBOSE) fprintf (stderr, "distribute: ");
    349361  for (i = 0; i < Nrows; i++, tblbuffer += Nx) {
    350     // int row = row_start + i;
    351     memcpy (tblbuffer, &raw[i*field->rowsize], field->rowsize);
     362    memcpy (tblbuffer, &raw[i*rowsize], rowsize);
    352363# if (VERBOSE)
    353364    int j; for (j = 0; j < field->rowsize; j++) fprintf (stderr, "0x%02hhx ", table->buffer[Nx*row + field->offset + j]);
Note: See TracChangeset for help on using the changeset viewer.