Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
01/14/09 16:03:50 (15 years ago)
Author:
kgrading
Message:

corrected the progress calculation (#457)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Hive.Client.Core/ConfigurationManager/ConfigManager.cs

    r1034 r1119  
    106106      return st;     
    107107    }
     108
     109    public Dictionary<long, double> GetProgressOfAllJobs() {
     110      Dictionary<long,double> prog = new Dictionary<long,double>();
     111      Dictionary<long, Executor> engines = Core.GetExecutionEngines();
     112      foreach (KeyValuePair<long, Executor> kvp in engines) {
     113        Executor e = kvp.Value;
     114        prog[e.JobId] = e.Progress;
     115      }
     116      return prog;
     117    }
     118
    108119  }
    109120}
Note: See TracChangeset for help on using the changeset viewer.