Changeset 7917 for trunk/Ohana/src/opihi/pcontrol/CheckSystem.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/CheckSystem.c (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckSystem.c
r4763 r7917 37 37 stack = GetHostStack (PCONTROL_HOST_BUSY); 38 38 Nbusy = stack[0].Nobject; 39 fprintf (stderr, "busy, idle, down: %2d %2d %2d\n", Nbusy, Nidle, Ndown);39 gprint (GP_ERR, "busy, idle, down: %2d %2d %2d\n", Nbusy, Nidle, Ndown); 40 40 } 41 41 … … 63 63 dtime = DTIME (stop, start); 64 64 } 65 if (0 && (Nobject > 0)) fprintf (stderr, "checked %d of %d jobs\n", i, Nobject);65 if (0 && (Nobject > 0)) gprint (GP_ERR, "checked %d of %d jobs\n", i, Nobject); 66 66 return (TRUE); 67 67 } … … 87 87 dtime = DTIME (stop, start); 88 88 } 89 if (0 && (Nobject > 0)) fprintf (stderr, "checked %d of %d jobs\n", i, Nobject);89 if (0 && (Nobject > 0)) gprint (GP_ERR, "checked %d of %d jobs\n", i, Nobject); 90 90 return (TRUE); 91 91 } … … 111 111 dtime = DTIME (stop, start); 112 112 } 113 if (0) fprintf (stderr, "checked %d hosts\n", i);113 if (0) gprint (GP_ERR, "checked %d hosts\n", i); 114 114 return (TRUE); 115 115 } … … 140 140 dtime = DTIME (stop, start); 141 141 } 142 if (0) fprintf (stderr, "checked %d hosts\n", i);142 if (0) gprint (GP_ERR, "checked %d hosts\n", i); 143 143 return (TRUE); 144 144 } … … 168 168 dtime = DTIME (stop, start); 169 169 } 170 if (0) fprintf (stderr, "checked %d hosts\n", i);170 if (0) gprint (GP_ERR, "checked %d hosts\n", i); 171 171 return (TRUE); 172 172 } … … 193 193 dtime = DTIME (stop, start); 194 194 } 195 if (0) fprintf (stderr, "checked %d idle hosts\n", i);195 if (0) gprint (GP_ERR, "checked %d idle hosts\n", i); 196 196 197 197 stack = GetHostStack (PCONTROL_HOST_BUSY); … … 205 205 dtime = DTIME (stop, start); 206 206 } 207 if (0) fprintf (stderr, "checked %d busy hosts\n", i);207 if (0) gprint (GP_ERR, "checked %d busy hosts\n", i); 208 208 return (TRUE); 209 209 } … … 213 213 gettimeofday (&stop, (void *) NULL); 214 214 dtime = DTIME (stop, start); 215 if (VerboseMode()) fprintf (stderr, "check 4: %f seconds\n", dtime);215 if (VerboseMode()) gprint (GP_ERR, "check 4: %f seconds\n", dtime); 216 216 217 217 gettimeofday (&start, (void *) NULL);
Note:
See TracChangeset
for help on using the changeset viewer.
