All Downloads are FREE. Search and download functionalities are using the official Maven repository.

asysmon-res.js.ctrl-threaddump.js Maven / Gradle / Ivy

There is a newer version: 1.0-pre28
Show newest version

angular.module('ASysMonApp').controller('CtrlThreadDump', function($scope, $http, $log, Rest, formatNumber) {
    $('.btn').tooltip({
        container: 'body',
        html: true
    });

    $scope.expansionModel = {}; // bound to the DOM, used for initial rendering
    $scope.shadowExpansionModel = {}; // continually updated, kept separate to allow for jQuery animations

    $scope.hideReflection = true;
    $scope.hideLibraries = true;

    function initFromResponse(data) {
        $scope.title = data.title;
        $scope.threads = data.threads;

        var appPkg = new RegExp(data.appPkg || '.');

        for(var i=0; i<$scope.threads.length; i++) {
            var t = $scope.threads[i];
            var hasApplicationFrame = false;
            for(var j=0; j




© 2015 - 2024 Weber Informatics LLC | Privacy Policy