From: Nilay Vaish Date: Mon, 9 Mar 2015 14:39:08 +0000 (-0500) Subject: cpu: o3: commit: mark pipeline delay variable as consts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=4e1d10a3cf3f5ba78b4a3bc4bd96ec60916809b3;p=gem5.git cpu: o3: commit: mark pipeline delay variable as consts --- diff --git a/src/cpu/o3/commit.hh b/src/cpu/o3/commit.hh index a63e8e9e9..6688a70dc 100644 --- a/src/cpu/o3/commit.hh +++ b/src/cpu/o3/commit.hh @@ -406,29 +406,29 @@ class DefaultCommit std::list priority_list; /** IEW to Commit delay. */ - Cycles iewToCommitDelay; + const Cycles iewToCommitDelay; /** Commit to IEW delay. */ - Cycles commitToIEWDelay; + const Cycles commitToIEWDelay; /** Rename to ROB delay. */ - Cycles renameToROBDelay; + const Cycles renameToROBDelay; - Cycles fetchToCommitDelay; + const Cycles fetchToCommitDelay; /** Rename width, in instructions. Used so ROB knows how many * instructions to get from the rename instruction queue. */ - unsigned renameWidth; + const unsigned renameWidth; /** Commit width, in instructions. */ - unsigned commitWidth; + const unsigned commitWidth; /** Number of Reorder Buffers */ unsigned numRobs; /** Number of Active Threads */ - ThreadID numThreads; + const ThreadID numThreads; /** Is a drain pending? Commit is looking for an instruction boundary while * there are no pending interrupts @@ -445,7 +445,7 @@ class DefaultCommit /** The latency to handle a trap. Used when scheduling trap * squash event. */ - Cycles trapLatency; + const Cycles trapLatency; /** The interrupt fault. */ Fault interrupt;