gem5  v20.1.0.0
Public Member Functions | Private Attributes | List of all members
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. More...
 
 ~ScopedMigration ()
 

Private Attributes

EventQueuenew_eq
 
EventQueueold_eq
 
bool doMigrate
 

Detailed Description

Definition at line 665 of file eventq.hh.

Constructor & Destructor Documentation

◆ ~ScopedMigration()

EventQueue::ScopedMigration::~ScopedMigration ( )
inline

Definition at line 693 of file eventq.hh.

References curEventQueue(), doMigrate, EventQueue::lock(), new_eq, old_eq, and EventQueue::unlock().

Member Data Documentation

◆ doMigrate

bool EventQueue::ScopedMigration::doMigrate
private

Definition at line 705 of file eventq.hh.

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

◆ new_eq

EventQueue& EventQueue::ScopedMigration::new_eq
private

Definition at line 703 of file eventq.hh.

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

◆ old_eq

EventQueue& 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 Wed Sep 30 2020 14:02:24 for gem5 by doxygen 1.8.17