- Timestamp:
- 09/06/11 16:26:00 (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
r6478 r6712 49 49 var firstStatisticsDate = DateTime.Parse("2011-05-24 17:16:40"); 50 50 var statisticsSince = DateTime.Now - firstStatisticsDate; 51 totalExecutionTimeLabel.Text = new TimeSpan(stats.Last().UserStatistics.Sum(x => x.ExecutionTime.Ticks)).ToString() + " (since " + Math.Round(statisticsSince.TotalDays, 2) + " days)"; 51 if (stats.Length != 0) { 52 totalExecutionTimeLabel.Text = new TimeSpan(stats.Last().UserStatistics.Sum(x => x.ExecutionTime.Ticks)).ToString() + " (since " + Math.Round(statisticsSince.TotalDays, 2) + " days)"; 53 } else { 54 totalExecutionTimeLabel.Text = "00:00:00.00"; 55 } 52 56 53 57 for (int i = 0; i < stats.Length; i++) {
Note: See TracChangeset
for help on using the changeset viewer.