[MOAB-dev] r3936 - MOAB/trunk/src/io

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Fri May 21 09:26:45 CDT 2010


Author: kraftche
Date: 2010-05-21 09:26:45 -0500 (Fri, 21 May 2010)
New Revision: 3936

Modified:
   MOAB/trunk/src/io/ReadHDF5.cpp
Log:
include more timeing data in debug output for HDF5 reader

Modified: MOAB/trunk/src/io/ReadHDF5.cpp
===================================================================
--- MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-20 22:36:00 UTC (rev 3935)
+++ MOAB/trunk/src/io/ReadHDF5.cpp	2010-05-21 14:26:45 UTC (rev 3936)
@@ -720,7 +720,7 @@
         EntityType type = CN::EntityTypeFromName( fileInfo->elems[i].type );
         if (CN::Dimension(type) == dim) {
           debug_barrier();
-          dbgOut.printf( 2, "    Reading element connectivity for: %s\n", fileInfo->elems[i].handle );
+          dbgOut.tprintf( 2, "    Reading element connectivity for: %s\n", fileInfo->elems[i].handle );
           Range subset;
           intersect( fileInfo->elems[i].desc, file_ids, subset );
           rval = read_elems( fileInfo->elems[i],  subset );
@@ -737,7 +737,7 @@
         EntityType type = CN::EntityTypeFromName( fileInfo->elems[i].type );
         if (CN::Dimension(type) == dim) {
           debug_barrier();
-          dbgOut.printf( 2, "    Reading node-adjacent elements for: %s\n", fileInfo->elems[i].handle );
+          dbgOut.tprintf( 2, "    Reading node-adjacent elements for: %s\n", fileInfo->elems[i].handle );
           rval = read_node_adj_elems( fileInfo->elems[i] );
           if (MB_SUCCESS != rval)
             return error(rval);
@@ -748,7 +748,7 @@
     
     case 2: // ELEMENTS=SIDES : read explicitly specified elems and any sides of those elems
     debug_barrier();
-    dbgOut.print( 2, "    Reading elements and sides\n");
+    dbgOut.tprint( 2, "    Reading elements and sides\n");
     rval = read_elements_and_sides( file_ids );
     if (MB_SUCCESS != rval)
       return error(rval);
@@ -1539,7 +1539,7 @@
   for (int i = 0; i < fileInfo->num_elem_desc; ++i) {
     EntityType type = CN::EntityTypeFromName( fileInfo->elems[i].type );
     if (CN::Dimension(type) < max_dim) {
-      dbgOut.printf(3, "   Reading node-adjacent elements for: %s\n", fileInfo->elems[i].handle);
+      dbgOut.tprintf(3, "   Reading node-adjacent elements for: %s\n", fileInfo->elems[i].handle);
       rval = read_node_adj_elems( fileInfo->elems[i] );
       if (MB_SUCCESS != rval)
         return error(rval);
@@ -1557,7 +1557,7 @@
       intersect( fileInfo->elems[i].desc, elem_ids, subset );
       if (!subset.empty() || nativeParallel) {
         subtract( elem_ids,  subset );
-        dbgOut.printf(3, "   Reading connectivity for: %s\n", fileInfo->elems[i].handle);
+        dbgOut.tprintf(3, "   Reading connectivity for: %s\n", fileInfo->elems[i].handle);
         rval = read_elems( fileInfo->elems[i],  subset );
         if (MB_SUCCESS != rval)
           return error(rval); 
@@ -1566,7 +1566,7 @@
   } 


More information about the moab-dev mailing list