gem5 v25.0.0.1
Loading...
Searching...
No Matches
gem5::EventQueue::ScopedMigration Class Reference

#include <eventq.hh>

Public Member Functions

 ScopedMigration (EventQueue *_new_eq, bool _doMigrate=true)
 Temporarily migrate execution to a different event queue.
 ~ScopedMigration ()

Private Attributes

EventQueuenew_eq
EventQueueold_eq
bool doMigrate

Detailed Description

Definition at line 665 of file eventq.hh.

Constructor & Destructor Documentation

◆ ~ScopedMigration()

gem5::EventQueue::ScopedMigration::~ScopedMigration ( )
inline

Definition at line 693 of file eventq.hh.

References gem5::curEventQueue(), doMigrate, new_eq, and old_eq.

Member Data Documentation

◆ doMigrate

bool gem5::EventQueue::ScopedMigration::doMigrate
private

Definition at line 705 of file eventq.hh.

Referenced by ScopedMigration(), and ~ScopedMigration().

◆ new_eq

EventQueue& gem5::EventQueue::ScopedMigration::new_eq
private

Definition at line 703 of file eventq.hh.

Referenced by ScopedMigration(), and ~ScopedMigration().

◆ old_eq

EventQueue& gem5::EventQueue::ScopedMigration::old_eq
private

Definition at line 704 of file eventq.hh.

Referenced by ScopedMigration(), and ~ScopedMigration().


The documentation for this class was generated from the following file:

Generated on Sat Oct 18 2025 08:06:50 for gem5 by doxygen 1.14.0