IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 37701


Ignore:
Timestamp:
Nov 30, 2014, 1:33:28 PM (12 years ago)
Author:
eugene
Message:

add some info to the loops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/eam_branches/ipp-20140904/Ohana/src/relastro/src/relastro_parallel_images.c

    r37699 r37701  
    6060  char *syncfile = make_filename (CATDIR, regionHosts->hosts[myHost].hostname, REGION_HOST_ID, "loadcat.sync");
    6161  catalog = load_catalogs (skylist, &Ncatalog, TRUE, 0, NULL, syncfile);
    62   MARKTIME("-- load catalog data: %f sec\n", dtime);
     62  MARKTIME("-- load catalog data, host %d: %f sec\n", REGION_HOST_ID, dtime);
    6363  free (syncfile);
    6464 
     
    7676  /* match measurements with images, mosaics */
    7777  initImageBins  (catalog, Ncatalog, TRUE);
    78   MARKTIME("-- make image bins: %f sec\n", dtime);
     78  MARKTIME("-- make image bins, host %d: %f sec\n", REGION_HOST_ID, dtime);
    7979
    8080  findImages (catalog, Ncatalog, TRUE);
    81   MARKTIME("-- set up image indexes: %f sec\n", dtime);
     81  MARKTIME("-- set up image indexes, host %d: %f sec\n", REGION_HOST_ID, dtime);
    8282
    8383  // set test points based on the starmap
     
    103103    case TARGET_CHIPS:
    104104      for (i = 0; i < NLOOP; i++) {
    105         if (RESET_IMAGES) UpdateMeasures (catalog, Ncatalog);
     105        if (RESET_IMAGES) {
     106          UpdateMeasures (catalog, Ncatalog);
     107          MARKTIME("reset measures loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime);
     108        }
    106109        UpdateObjects (catalog, Ncatalog, (i > 0));
     110        MARKTIME("update objects loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime);
    107111        if ((i > 1) || !USE_GALAXY_MODEL) {
    108112          // if GALAXY_MODEL is selected, we want to delay the frame correction until we have
    109113          // applied the galaxy model a couple of times.
    110114          FrameCorrectionParallelSlave (catalog, Ncatalog, regionHosts, i);
     115          MARKTIME("frame correction loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime);
    111116        }
    112117        share_mean_pos (catalog, Ncatalog, regionHosts, i);
     
    114119
    115120        UpdateChips (catalog, Ncatalog);
     121        MARKTIME("update chips loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime);
    116122        share_image_pos (regionHosts, i);
    117123        slurp_image_pos (catalog, Ncatalog, regionHosts, i);
    118124        share_meas_pos (catalog, Ncatalog, regionHosts, i);
    119125        slurp_meas_pos (catalog, Ncatalog, regionHosts, i);
    120         MARKTIME("update chips: %f sec\n", dtime);
     126        MARKTIME("done exchange loop %d, host %d: %f sec\n", i, REGION_HOST_ID, dtime);
    121127      }
    122128      // create summary plots of the process
Note: See TracChangeset for help on using the changeset viewer.