summaryrefslogtreecommitdiff
path: root/cpu/base_cpu.cc
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@eecs.umich.edu>2004-02-02 18:14:11 -0800
committerSteve Reinhardt <stever@eecs.umich.edu>2004-02-02 18:14:11 -0800
commitb79f6b3273057d99809aced133333552778fd055 (patch)
tree4b0270ff2751e544984f5d8e6c79f52268e02f05 /cpu/base_cpu.cc
parent548b4a1cb045c6675692e8ed7c6375ebb808c803 (diff)
downloadgem5-b79f6b3273057d99809aced133333552778fd055.tar.xz
insn->inst
--HG-- extra : convert_revision : fcc556fb7e65855ec3c04ef272177c8e7a38fff9
Diffstat (limited to 'cpu/base_cpu.cc')
-rw-r--r--cpu/base_cpu.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/cpu/base_cpu.cc b/cpu/base_cpu.cc
index 74d2ceada..604ee335d 100644
--- a/cpu/base_cpu.cc
+++ b/cpu/base_cpu.cc
@@ -71,16 +71,16 @@ BaseCPU::BaseCPU(const string &_name, int _number_of_threads,
maxThreadsPerCPU = number_of_threads;
// allocate per-thread instruction-based event queues
- comInsnEventQueue = new (EventQueue *)[number_of_threads];
+ comInstEventQueue = new (EventQueue *)[number_of_threads];
for (int i = 0; i < number_of_threads; ++i)
- comInsnEventQueue[i] = new EventQueue("instruction-based event queue");
+ comInstEventQueue[i] = new EventQueue("instruction-based event queue");
//
// set up instruction-count-based termination events, if any
//
if (max_insts_any_thread != 0)
for (int i = 0; i < number_of_threads; ++i)
- new SimExitEvent(comInsnEventQueue[i], max_insts_any_thread,
+ new SimExitEvent(comInstEventQueue[i], max_insts_any_thread,
"a thread reached the max instruction count");
if (max_insts_all_threads != 0) {
@@ -90,7 +90,7 @@ BaseCPU::BaseCPU(const string &_name, int _number_of_threads,
int *counter = new int;
*counter = number_of_threads;
for (int i = 0; i < number_of_threads; ++i)
- new CountedExitEvent(comInsnEventQueue[i],
+ new CountedExitEvent(comInstEventQueue[i],
"all threads reached the max instruction count",
max_insts_all_threads, *counter);
}