Exemplo n.º 1
0
        public Controller_Three_Level_Cluster()
        {
            isThrottling = false;
            for (int i = 0; i < Config.N; i++)
            {
                //initialization on stats for the test
                ipc_accum_diff[i]=0.0;
                ipc_free[i]=0.0;
                ipc_throttled[i]=0.0;
                ins_free[i]=0;
                ins_throttled[i]=0;
                last_free_nodes[i]=0;
                //test phase timing 
                num_throttle_periods=0;
                num_test_phases=0;
                isTestPhase=false;

                MPKI[i]=0.0;
                num_ins_last_epoch[i]=0;
                m_isThrottled[i]=false;
                L1misses[i]=0;
                lastNetUtil = 0;
            }
            throttled_cluster=new Cluster();
            low_intensity_cluster=new Cluster();
            cluster_pool=new UniformBatchClusterPool(Config.cluster_MPKI_threshold);
        }
        public Controller_Three_Level_Cluster()
        {
            isThrottling = false;
            for (int i = 0; i < Config.N; i++)
            {
                //initialization on stats for the test
                ipc_accum_diff[i]  = 0.0;
                ipc_free[i]        = 0.0;
                ipc_throttled[i]   = 0.0;
                ins_free[i]        = 0;
                ins_throttled[i]   = 0;
                last_free_nodes[i] = 0;
                //test phase timing
                num_throttle_periods = 0;
                num_test_phases      = 0;
                isTestPhase          = false;

                MPKI[i] = 0.0;
                num_ins_last_epoch[i] = 0;
                m_isThrottled[i]      = false;
                L1misses[i]           = 0;
                lastNetUtil           = 0;
            }
            throttled_cluster     = new Cluster();
            low_intensity_cluster = new Cluster();
            cluster_pool          = new UniformBatchClusterPool(Config.cluster_MPKI_threshold);
        }
        public Controller_Uniform_Batch()
        {
            isThrottling = false;
            for (int i = 0; i < Config.N; i++)
            {
                ipc_diff[i]=0.0;
                ipc_free[i]=0.0;
                ipc_throttled[i]=0.0;

                ins_free[i]=0;
                ins_throttled[i]=0;
                last_free_nodes[i]=0;

                MPKI[i]=0.0;
                num_ins_last_epoch[i]=0;
                m_isThrottled[i]=false;
                L1misses[i]=0;
                lastNetUtil = 0;
            }
            cluster_pool=new UniformBatchClusterPool(Config.cluster_MPKI_threshold);
        }
        public Controller_Uniform_Batch()
        {
            isThrottling = false;
            for (int i = 0; i < Config.N; i++)
            {
                ipc_diff[i]      = 0.0;
                ipc_free[i]      = 0.0;
                ipc_throttled[i] = 0.0;

                ins_free[i]        = 0;
                ins_throttled[i]   = 0;
                last_free_nodes[i] = 0;

                MPKI[i] = 0.0;
                num_ins_last_epoch[i] = 0;
                m_isThrottled[i]      = false;
                L1misses[i]           = 0;
                lastNetUtil           = 0;
            }
            cluster_pool = new UniformBatchClusterPool(Config.cluster_MPKI_threshold);
        }