diff options
author | Joel Hestness <hestness@cs.wisc.edu> | 2012-09-12 21:41:37 -0500 |
---|---|---|
committer | Joel Hestness <hestness@cs.wisc.edu> | 2012-09-12 21:41:37 -0500 |
commit | 234fa4cf7ecd16350c1095830d26f94b2bfd3eb9 (patch) | |
tree | b9e29dccf07623bd982d6042fa852c9b99f5390b /src/mem/cache | |
parent | 16dcb723c11afb91cc3428294bd3106425114949 (diff) | |
download | gem5-234fa4cf7ecd16350c1095830d26f94b2bfd3eb9.tar.xz |
Standard Switch: Drain the system before switching CPUs
When switching from an atomic CPU to any of the timing CPUs, a drain is
unnecessary since no events are scheduled in atomic mode. However, when
trying to switch CPUs starting with a timing CPU, there may be events
scheduled. This change ensures that all events are drained from the system
by calling m5.drain before switching CPUs.
Diffstat (limited to 'src/mem/cache')
0 files changed, 0 insertions, 0 deletions