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);
        }
Esempio n. 2
0
 /*** Constructor ***/
 public Controller_MPKC_Cluster()
 {
     for (int i = 0; i < Config.N; i++)
     {
         L1misses[i] = 0;
         MPKI[i]     = 0.0;
         throttleRate[i]  = 0.0;
         num_ins_last_epoch[i] = 0;
     }
     avgMPKC = 0.0;
     neverThrottledCluster = new Cluster();
 }
Esempio n. 3
0
 public Controller_ACT_MT()
 {
     for (int i = 0; i < Config.N; i++)
     {
         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 BatchClusterPool(Config.cluster_MPKI_threshold);
 }