Changeset 15261 for stable/HeuristicLab.Services.WebApp.Status/3.3/WebApi
- Timestamp:
- 07/16/17 13:03:37 (7 years ago)
- Location:
- stable
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
- Property svn:mergeinfo changed
/trunk/sources merged: 14722,14726,14732,14738,14748-14749,14820,14828,15005,15075
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Services.WebApp.Status/3.3/WebApi/DataController.cs
r14186 r15261 91 91 AvgWaitingTime = count > 0 ? (long)calculatingTasks.OrderBy(x => x.StartTime).Take(count).Average(x => x.InitialWaitingTime) : 0, 92 92 AvgCalculatingTime = lastCalculatingTimes != null ? lastCalculatingTimes.Avg : 0, 93 TotalCpuTime = factTasks.Sum(x => Convert.ToInt64(x.CalculatingTime)),93 TotalCpuTime = factTasks.Sum(x => (long?)x.CalculatingTime) ?? 0, 94 94 StandardDeviationCalculatingTime = (long)StandardDeviation(completedTasks.Select(x => (double)x.CalculatingTime)), 95 95 BeginDate = factTasks.Where(x => x.StartTime.HasValue).OrderBy(x => x.StartTime).Select(x => x.StartTime).FirstOrDefault()
Note: See TracChangeset
for help on using the changeset viewer.