- Timestamp:
- 09/08/11 13:41:25 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/HeuristicLab.Hive-3.4/sources/HeuristicLab.Services.Hive.Web/Hive-3.4/Status.aspx.cs
r6717 r6721 32 32 int currentlyAvailableCores = onlineSlaves.Sum(s => s.Cores.Value); 33 33 int currentlyUsedCores = currentlyAvailableCores - onlineSlaves.Sum(s => s.FreeCores.Value); 34 int currentlyJobsWaiting = ServiceLocator.Instance.HiveDao.GetJobs(x => x.State == DA. JobState.Waiting).Count();34 int currentlyJobsWaiting = ServiceLocator.Instance.HiveDao.GetJobs(x => x.State == DA.TaskState.Waiting).Count(); 35 35 36 36 this.availableCoresLabel.Text = currentlyAvailableCores.ToString();
Note: See TracChangeset
for help on using the changeset viewer.