Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
06/26/15 11:16:48 (9 years ago)
Author:
dglaser
Message:

#2394:

HeuristicLab.Services.WebApp.Status-3.3:

  • changed the DataController to return memory in kb instead of gb
  • fixed the memory rounding error
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Services.WebApp.Status/3.3/WebApp/history/historyCtrl.js

    r12519 r12521  
    3939                }
    4040            };
     41
    4142
    4243            $scope.fromDate = new Date();
     
    8182                        coreSeries[0].push([curStatus.Timestamp, curStatus.CoreStatus.ActiveCores]);
    8283                        coreSeries[1].push([curStatus.Timestamp, curStatus.CoreStatus.CalculatingCores]);
    83                         memorySeries[0].push([curStatus.Timestamp, curStatus.MemoryStatus.ActiveMemory]);
    84                         memorySeries[1].push([curStatus.Timestamp, curStatus.MemoryStatus.UsedMemory]);
     84                        memorySeries[0].push([curStatus.Timestamp, Math.round(curStatus.MemoryStatus.ActiveMemory / 1024)]);
     85                        memorySeries[1].push([curStatus.Timestamp, Math.round(curStatus.MemoryStatus.UsedMemory / 1024)]);
    8586                    }
    8687                    $scope.cpuSeries = [{ data: cpuSeries, label: " CPU Utilization", color: "#f7921d" }];
Note: See TracChangeset for help on using the changeset viewer.