- Timestamp:
- 04/16/13 13:13:41 (12 years ago)
- Location:
- branches/OaaS
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/OaaS
- Property svn:ignore
-
old new 21 21 protoc.exe 22 22 _ReSharper.HeuristicLab 3.3 Tests 23 Google.ProtocolBuffers-2.4.1.473.dll 23 24 packages
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Algorithms.Benchmarks/3.3/BenchmarkAlgorithm.cs
r8121 r9363 159 159 name = value == null ? string.Empty : value; 160 160 OnNameChanged(); 161 runs.OptimizerName = name; 161 162 } 162 163 } … … 238 239 storeAlgorithmInEachRun = false; 239 240 runsCounter = 0; 240 Runs = new RunCollection() ;241 Runs = new RunCollection() { OptimizerName = name }; 241 242 results = new ResultCollection(); 242 243 CreateParameters(); … … 326 327 private void Run(object state) { 327 328 CancellationToken cancellationToken = (CancellationToken)state; 328 lastUpdateTime = DateTime. Now;329 lastUpdateTime = DateTime.UtcNow; 329 330 System.Timers.Timer timer = new System.Timers.Timer(250); 330 331 timer.AutoReset = true; … … 351 352 timer.Elapsed -= new System.Timers.ElapsedEventHandler(timer_Elapsed); 352 353 timer.Stop(); 353 ExecutionTime += DateTime. Now - lastUpdateTime;354 ExecutionTime += DateTime.UtcNow - lastUpdateTime; 354 355 } 355 356 } … … 358 359 System.Timers.Timer timer = (System.Timers.Timer)sender; 359 360 timer.Enabled = false; 360 DateTime now = DateTime. Now;361 DateTime now = DateTime.UtcNow; 361 362 ExecutionTime += now - lastUpdateTime; 362 363 lastUpdateTime = now;
Note: See TracChangeset
for help on using the changeset viewer.