コード例 #1
0
 public Controller_Adaptive_Cluster()
 {
     isThrottling = false;
     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;
     }
     cluster_pool=new BatchClusterPool(Config.cluster_MPKI_threshold);
 }
コード例 #2
0
 public Controller_Global_Batch()
 {
     isThrottling = false;
     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;
     }
     cluster_pool = new BatchClusterPool(Config.cluster_MPKI_threshold);
 }
コード例 #3
0
ファイル: Controller_ACT_MT.cs プロジェクト: hirous/test
 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);
 }
コード例 #4
0
 public Controller_Three_Level_Cluster_NoTrig()
 {
     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);
 }
コード例 #5
0
 public Controller_Global_Batch_fraction()
 {
     isThrottling = false;
     MPKI_desired_target = 500;
     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;
     }
     cluster_pool=new BatchClusterPool(Config.cluster_MPKI_threshold);
 }
 public Controller_Adaptive_Cluster_shuffle()
 {
     isThrottling = false;
     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;
     }
     MPKI_close_thresh = 10.0;
     cluster_pool      = new BatchClusterPool(Config.cluster_MPKI_threshold);
 }
コード例 #7
0
        public Controller_MPKC()
        {
            for (int i = 0; i < Config.N; i++)
            {
                L1misses[i]           = 0;
                MPKI[i]               = 0.0;
                MPKC[i]               = 0.0;
                m_isThrottled[i]      = false;
                num_ins_last_epoch[i] = 0;
            }

            throttled_cluster     = new Cluster();
            low_intensity_cluster = new Cluster();
            cluster_pool          = new BatchClusterPool(Config.cluster_MPKI_threshold);
        }