Changeset 9363 for branches/OaaS/HeuristicLab.Algorithms.DataAnalysis/3.4/FixedDataAnalysisAlgorithm.cs
- Timestamp:
- 04/16/13 13:13:41 (11 years ago)
- Location:
- branches/OaaS
- Files:
-
- 4 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.DataAnalysis
- Property svn:mergeinfo changed
-
branches/OaaS/HeuristicLab.Algorithms.DataAnalysis/3.4
- Property svn:ignore
-
old new 5 5 *.vs10x 6 6 Plugin.cs 7 *.user
-
- Property svn:ignore
-
branches/OaaS/HeuristicLab.Algorithms.DataAnalysis/3.4/FixedDataAnalysisAlgorithm.cs
r7259 r9363 96 96 private void Run(object state) { 97 97 CancellationToken cancellationToken = (CancellationToken)state; 98 lastUpdateTime = DateTime. Now;98 lastUpdateTime = DateTime.UtcNow; 99 99 System.Timers.Timer timer = new System.Timers.Timer(250); 100 100 timer.AutoReset = true; … … 107 107 timer.Elapsed -= new System.Timers.ElapsedEventHandler(timer_Elapsed); 108 108 timer.Stop(); 109 ExecutionTime += DateTime. Now - lastUpdateTime;109 ExecutionTime += DateTime.UtcNow - lastUpdateTime; 110 110 } 111 111 … … 121 121 System.Timers.Timer timer = (System.Timers.Timer)sender; 122 122 timer.Enabled = false; 123 DateTime now = DateTime. Now;123 DateTime now = DateTime.UtcNow; 124 124 ExecutionTime += now - lastUpdateTime; 125 125 lastUpdateTime = now;
Note: See TracChangeset
for help on using the changeset viewer.