From 481aaf03cf933c13c3d9bf294629c6740726025e Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Mon, 13 Oct 2003 22:19:43 -0400 Subject: Small optimization cpu/pc_event.cc: cpu/pc_event.hh: Do a quick check to see if there is anything to service before the function is called --HG-- extra : convert_revision : 16e9b6284ece8b7a53ccf0ca200fab9ba780c50c --- cpu/pc_event.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cpu/pc_event.cc') diff --git a/cpu/pc_event.cc b/cpu/pc_event.cc index 7b72f5c08..8c584a492 100644 --- a/cpu/pc_event.cc +++ b/cpu/pc_event.cc @@ -84,7 +84,7 @@ PCEventQueue::schedule(PCEvent *event) } bool -PCEventQueue::service(ExecContext *xc) +PCEventQueue::doService(ExecContext *xc) { Addr pc = xc->regs.pc; int serviced = 0; -- cgit v1.2.3