public Controller_SelfTuned() { avg_netutil = new AveragingWindow(Config.selftuned_netutil_window); avg_ipc = new AveragingWindow(Config.selftuned_ipc_window); m_target = Config.selftuned_init_netutil_target; m_rate = 0.0; }
public Controller_Throttle() { Console.WriteLine("init"); for (int i = 0; i < Config.N; i++) { avg_starve[i] = new AveragingWindow_Binary(Config.throttle_averaging_window); avg_qlen[i] = new AveragingWindow(Config.throttle_averaging_window); } }
public Controller_HotNets() { avg_netutil = new AveragingWindow(Config.selftuned_netutil_window); avg_ipc = new AveragingWindow(Config.selftuned_ipc_window); avg_qlen = new AveragingWindow[Config.N]; for (int i = 0; i < Config.N; i++) { avg_qlen[i] = new AveragingWindow(Config.hotnets_qlen_window); } m_target = Config.selftuned_init_netutil_target; m_rate = 0.0; }
public Controller_SelfTuned_Buffer() { avg_netutil = new AveragingWindow(Config.buffer_selftuned_quantum); avg_pkt = new AveragingWindow(Config.buffer_selftuned_hillClimb_quantum); m_lastPkt = 0.0; m_target = 0.0; m_rate = 0.0; max_pkt = 0.0; max_target = 0.0; max_netu = 0.0; maxResetCount = 0; }
/*** Constructor ***/ public Controller_MSHR_Throttle() { 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; } avg_ipc = new AveragingWindow((int)Config.hillClimbQuantum); m_avg_L1_misses = new AveragingWindow((int)Config.hillClimbQuantum); m_initialTarget = Config.mshrTh_netutil_target; }
public Controller_HotNets() { avg_netutil = new AveragingWindow(Config.selftuned_netutil_window); avg_ipc = new AveragingWindow(Config.selftuned_ipc_window); avg_qlen = new AveragingWindow[Config.N]; for (int i = 0; i < Config.N; i++) avg_qlen[i] = new AveragingWindow(Config.hotnets_qlen_window); m_target = Config.selftuned_init_netutil_target; m_rate = 0.0; }