From b79f6b3273057d99809aced133333552778fd055 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Mon, 2 Feb 2004 18:14:11 -0800 Subject: insn->inst --HG-- extra : convert_revision : fcc556fb7e65855ec3c04ef272177c8e7a38fff9 --- cpu/base_cpu.cc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpu/base_cpu.cc') 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); } -- cgit v1.2.3