AbstractController.cc (9996:150338b8ba12) | AbstractController.cc (10005:8c2b0dc16ccd) |
---|---|
1/* 2 * Copyright (c) 2011 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30#include "mem/ruby/system/Sequencer.hh" 31#include "mem/ruby/system/System.hh" 32 33AbstractController::AbstractController(const Params *p) 34 : ClockedObject(p), Consumer(this), m_fully_busy_cycles(0), 35 m_request_count(0) 36{ 37 m_version = p->version; | 1/* 2 * Copyright (c) 2011 Mark D. Hill and David A. Wood 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 21 unchanged lines hidden (view full) --- 30#include "mem/ruby/system/Sequencer.hh" 31#include "mem/ruby/system/System.hh" 32 33AbstractController::AbstractController(const Params *p) 34 : ClockedObject(p), Consumer(this), m_fully_busy_cycles(0), 35 m_request_count(0) 36{ 37 m_version = p->version; |
38 m_clusterID = p->cluster_id; 39 |
|
38 m_transitions_per_cycle = p->transitions_per_cycle; 39 m_buffer_size = p->buffer_size; 40 m_recycle_latency = p->recycle_latency; 41 m_number_of_TBEs = p->number_of_TBEs; 42 m_is_blocking = false; 43 44 if (m_version == 0) { 45 // Combine the statistics from all controllers --- 155 unchanged lines hidden --- | 40 m_transitions_per_cycle = p->transitions_per_cycle; 41 m_buffer_size = p->buffer_size; 42 m_recycle_latency = p->recycle_latency; 43 m_number_of_TBEs = p->number_of_TBEs; 44 m_is_blocking = false; 45 46 if (m_version == 0) { 47 // Combine the statistics from all controllers --- 155 unchanged lines hidden --- |