- Timestamp:
- 03/12/10 10:57:21 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/sources/HeuristicLab.Hive.Client.Core/3.2/ConfigurationManager/ConfigManager.cs ¶
r2846 r3011 47 47 48 48 public Core Core { get; set; } 49 private Client Info hardwareInfo;49 private ClientDto hardwareInfo; 50 50 51 51 /// <summary> … … 53 53 /// </summary> 54 54 private ConfigManager() { 55 hardwareInfo = new Client Info();55 hardwareInfo = new ClientDto(); 56 56 57 57 if (Settings.Default.Guid == Guid.Empty) { … … 71 71 /// </summary> 72 72 /// <returns>the ClientInfo object</returns> 73 public Client Info GetClientInfo() {73 public ClientDto GetClientInfo() { 74 74 hardwareInfo.Login = WcfService.Instance.ConnectedSince; 75 75 return hardwareInfo; … … 139 139 public int GetUsedCores() { 140 140 Dictionary<Guid, Executor> engines = Core.GetExecutionEngines(); 141 Dictionary<Guid, Job > jobs = Core.GetJobs();141 Dictionary<Guid, JobDto> jobs = Core.GetJobs(); 142 142 int usedCores = 0; 143 143 lock (engines) { 144 foreach (KeyValuePair<Guid, Job > kvp in jobs)144 foreach (KeyValuePair<Guid, JobDto> kvp in jobs) 145 145 usedCores += kvp.Value.CoresNeeded; 146 146 }
Note: See TracChangeset
for help on using the changeset viewer.