diff options
author | Nathan Binkert <binkertn@umich.edu> | 2007-04-18 08:04:46 -0700 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2007-04-18 08:04:46 -0700 |
commit | d92fff858bdded7dbfa475837e91ada109b29f2c (patch) | |
tree | 185401e5352d6856e7a07edc3ccb3bcff0d9f8d2 | |
parent | 68221b708c03abd958105afc2983190aa91f0108 (diff) | |
download | gem5-d92fff858bdded7dbfa475837e91ada109b29f2c.tar.xz |
fix SIGUSR1 and SIGUSR2 by clearing the variables after
they're used
--HG--
extra : convert_revision : ed5351f291d45d585bf811a062e162e16b86e886
-rw-r--r-- | src/sim/simulate.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/sim/simulate.cc b/src/sim/simulate.cc index 55cbb50a9..36bdff45e 100644 --- a/src/sim/simulate.cc +++ b/src/sim/simulate.cc @@ -92,10 +92,9 @@ simulate(Tick num_cycles) if (async_event) { async_event = false; if (async_statdump || async_statreset) { + Stats::StatEvent(async_statdump, async_statreset); async_statdump = false; async_statreset = false; - - Stats::StatEvent(async_statdump, async_statreset); } if (async_exit) { |