Changeset 12950 for branches/crossvalidation-2434/HeuristicLab.Optimization/3.3/MetaOptimizers/Experiment.cs
- Timestamp:
- 09/14/15 14:40:46 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/crossvalidation-2434/HeuristicLab.Optimization/3.3/MetaOptimizers/Experiment.cs
r12949 r12950 355 355 var success = Monitor.TryEnter(locker, 100); 356 356 if (!success) return; 357 ExecutionTime = Optimizers.Aggregate(TimeSpan.Zero, (t, o) => t + o.ExecutionTime); 358 Monitor.Exit(locker); 357 try { 358 ExecutionTime = Optimizers.Aggregate(TimeSpan.Zero, (t, o) => t + o.ExecutionTime); 359 } 360 finally { 361 Monitor.Exit(locker); 362 } 359 363 } 360 364 private void optimizer_Paused(object sender, EventArgs e) {
Note: See TracChangeset
for help on using the changeset viewer.