Changeset 733 for trunk/sources
- Timestamp:
- 11/11/08 13:03:41 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Hive.Client.Core
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/CoreApplication.cs
r729 r733 6 6 using System.Diagnostics; 7 7 using HeuristicLab.Hive.Client.Common; 8 using System.Timers; 9 using System.Threading; 8 10 9 11 namespace HeuristicLab.Hive.Client.Core { … … 11 13 public class CoreApplication: ApplicationBase { 12 14 public override void Run() { 15 13 16 Logging.getInstance().Info(this.Name, "Info Message"); 14 17 Logging.getInstance().Error(this.Name, "Error Message"); 15 18 Logging.getInstance().Error(this.Name, "Exception Message", new Exception("Exception")); 19 20 Heartbeat beat = new Heartbeat(); 21 beat.Interval = 1000; 22 beat.StartHeartbeat(); 23 DoRubbish(); 24 Console.WriteLine("done"); 25 Thread.Sleep(99999); 26 } 27 28 private void DoRubbish() { 29 for (int w = 0; w < 20000000; w++) 30 for (int x = 0; x < 20000000; x++) 31 for (int y = 0; y < 20000000; y++) { 32 } 33 16 34 } 17 35 } -
trunk/sources/HeuristicLab.Hive.Client.Core/HeuristicLab.Hive.Client.Core.csproj
r729 r733 67 67 <Compile Include="CoreApplication.cs" /> 68 68 <Compile Include="CorePlugin.cs" /> 69 <Compile Include="Heartbeat.cs" /> 69 70 <Compile Include="Properties\AssemblyInfo.cs" /> 70 71 </ItemGroup>
Note: See TracChangeset
for help on using the changeset viewer.