Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
05/09/11 14:12:10 (13 years ago)
Author:
cneumuel
Message:

#1233

  • removed Job-dto objects from slave core (since it stores outdated objects)
  • added command textbox to HiveJobView
  • improved the way the control buttons behave in HiveJobView
  • improved job control (pause and stop is also possible when job is not currently calculating)
  • improved gantt chart view (last state log entry is also displayed)
  • unified code for downloading jobs between experiment manager and hive engine
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Clients.Hive.Slave/3.4/ConfigManager.cs

    r6110 r6168  
    113113
    114114    public int GetUsedCores() {
    115       Dictionary<Guid, Executor> engines = Core.Executors;
    116       Dictionary<Guid, Job> jobs = Core.Jobs;
    117       int usedCores = 0;
    118       lock (engines) {
    119         foreach (KeyValuePair<Guid, Job> kvp in jobs)
    120           usedCores += kvp.Value.CoresNeeded;
    121       }
    122       return usedCores;
     115      return Core.GetCoresNeeded();
    123116    }
    124117
Note: See TracChangeset for help on using the changeset viewer.