Exemple #1
0
 public void StartAllThreads(int runningTimeout)
 {
     runner = CreateStrategy(RunBehavior);
     timeOut = runningTimeout;
     stopper.Reset();
     stopper.Start();
     runner.StartAll(runningTimeout, threadActions);
     stopper.Stop();
     lastRunTime = stopper.ElapsedMilliseconds;
 }
Exemple #2
0
 public void StartAllThreads(int runningTimeout)
 {
     runner  = CreateStrategy(RunBehavior);
     timeOut = runningTimeout;
     stopper.Reset();
     stopper.Start();
     runner.StartAll(runningTimeout, threadActions);
     stopper.Stop();
     lastRunTime = stopper.ElapsedMilliseconds;
 }