Changeset 1119 for trunk/sources/HeuristicLab.Hive.Client.Core/Heartbeat.cs
- Timestamp:
- 01/14/09 16:03:50 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Hive.Client.Core/Heartbeat.cs
r1097 r1119 74 74 ClientInfo info = ConfigManager.Instance.GetClientInfo(); 75 75 // Todo: remove tempfix for free cores. 76 // TODO: change jobProgress from int to Dictionary of Job and Double 77 HeartBeatData heartBeatData = new HeartBeatData { ClientId = info.ClientId, 78 freeCores = info.NrOfCores - (ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed), 79 freeMemory = 1000, 80 jobProgress = ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed}; 76 77 HeartBeatData heartBeatData = new HeartBeatData { 78 ClientId = info.ClientId, 79 freeCores = info.NrOfCores - (ClientStatusInfo.JobsFetched - ClientStatusInfo.JobsProcessed), 80 freeMemory = 1000, 81 jobProgress = ConfigManager.Instance.GetProgressOfAllJobs() 82 }; 81 83 if (wcfService.ConnState == NetworkEnum.WcfConnState.Failed) { 82 84 wcfService.Connect();
Note: See TracChangeset
for help on using the changeset viewer.