(file) Return to StressTestController.cpp CVS log (file) (dir) Up to [Pegasus] / pegasus / test / StressTestController

Diff for /pegasus/test/StressTestController/StressTestController.cpp between version 1.8 and 1.9

version 1.8, 2008/06/18 18:12:11 version 1.9, 2008/06/26 18:32:47
Line 1291 
Line 1291 
                     //     commands.                     //     commands.
                     //     like, -clientid, -pidfile, -clientlog                     //     like, -clientid, -pidfile, -clientlog
                     //                     //
                     for (int instanceID =0;instanceID<clientInstance[j];                      for (Uint32 instanceID = 0; instanceID<clientInstance[j];
                          instanceID++)                          instanceID++)
                     {                     {
                         outPrintWriter<<                         outPrintWriter<<
Line 1522 
Line 1522 
                             //                             //
                             // Stop all the instances of this client                             // Stop all the instances of this client
                             //                             //
                             for (int instanceID =0;                              for (Uint32 instanceID = 0;
                                  instanceID<clientInstance[clientID];                                  instanceID<clientInstance[clientID];
                                  instanceID++)                                  instanceID++)
                             {                             {
Line 1612 
Line 1612 
                                 //                                 //
                                 //  Restart all the instances of the client.                                 //  Restart all the instances of the client.
                                 //                                 //
                                 for (int instanceID =0;                                  for (Uint32 instanceID = 0;
                                     instanceID<clientInstance[clientID];                                     instanceID<clientInstance[clientID];
                                     instanceID++)                                     instanceID++)
                                 {                                 {
Line 1623 
Line 1623 
                                     act_command.append(                                     act_command.append(
                                         _clientCommands.get()[clientID]);                                         _clientCommands.get()[clientID]);
                                     act_command.append(" -clientid ");                                     act_command.append(" -clientid ");
                                     sprintf(str,"%d",clientID+instanceID);                                      sprintf(str,"%u",clientID+instanceID);
                                     act_command.append(str);                                     act_command.append(str);
                                     act_command.append(" -pidfile ");                                     act_command.append(" -pidfile ");
                                     act_command.append(" \"");                                     act_command.append(" \"");
Line 1668 
Line 1668 
                                         }                                         }
                                     }                                     }
                                     clientActive[clientID+instanceID] = true;                                     clientActive[clientID+instanceID] = true;
                                 } /* for (int instanceID =0;instanceID .. */                                  } /* for (Uint32 instanceID =0;instanceID .. */
                                 clientStopMilliseconds.get()[clientID] =                                 clientStopMilliseconds.get()[clientID] =
                                     nowMilliseconds +                                     nowMilliseconds +
                                         _clientDurations.get()[clientID];                                         _clientDurations.get()[clientID];


Legend:
Removed from v.1.8  
changed lines
  Added in v.1.9

No CVS admin address has been configured
Powered by
ViewCVS 0.9.2