diff options
author | Gabe Black <gabeblack@google.com> | 2018-09-07 15:22:18 -0700 |
---|---|---|
committer | Gabe Black <gabeblack@google.com> | 2018-10-09 21:40:41 +0000 |
commit | 09432ca3cd5372bae3a4f041049ea181ddb7db31 (patch) | |
tree | 8d9e24be92317f6e886a8d01d46018388e5c48a3 | |
parent | 9adc0f8f39d60d26c0b316bed4803df478a78b88 (diff) | |
download | gem5-09432ca3cd5372bae3a4f041049ea181ddb7db31.tar.xz |
systemc: Remove a redundant call to update() from the kernel object.
The t0Handler runs the scheduler's initPhase function which has a call
to update built into it. There's no reason to call that within one of
the kernel's callbacks as well.
Change-Id: I02c755b7d53f93accdacf8149cc1988d7a6e214c
Reviewed-on: https://gem5-review.googlesource.com/c/12604
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
-rw-r--r-- | src/systemc/core/kernel.cc | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/systemc/core/kernel.cc b/src/systemc/core/kernel.cc index cc65fcc20..08ccf0767 100644 --- a/src/systemc/core/kernel.cc +++ b/src/systemc/core/kernel.cc @@ -140,9 +140,6 @@ Kernel::startup() stopWork(); kernel->status(::sc_core::SC_RUNNING); - - // Run update once before the event queue starts. - ::sc_gem5::scheduler.update(); } void |