|
gem5
v22.1.0.0
|
#include <system.hh>
Public Types | |
| using | iterator_category = std::forward_iterator_tag |
| using | value_type = ThreadContext * |
| using | difference_type = int |
| using | pointer = const value_type * |
| using | reference = const value_type & |
Public Member Functions | |
| const_iterator (const const_iterator &)=default | |
| const_iterator & | operator= (const const_iterator &)=default |
| const_iterator & | operator++ () |
| const_iterator | operator++ (int) |
| reference | operator* () |
| pointer | operator-> () |
| bool | operator== (const const_iterator &other) const |
| bool | operator!= (const const_iterator &other) const |
Private Member Functions | |
| const_iterator (const Threads &_threads, int _pos) | |
Private Attributes | |
| const Threads & | threads |
| int | pos |
Friends | |
| class | Threads |
| using gem5::System::Threads::const_iterator::iterator_category = std::forward_iterator_tag |
| using gem5::System::Threads::const_iterator::pointer = const value_type * |
| using gem5::System::Threads::const_iterator::reference = const value_type & |
|
inlineprivate |
Definition at line 160 of file system.hh.
Referenced by operator++().
|
default |
|
inline |
|
inline |
Definition at line 187 of file system.hh.
References gem5::System::Threads::Thread::context, pos, gem5::System::Threads::thread(), and threads.
|
inline |
|
inline |
Definition at line 182 of file system.hh.
References const_iterator(), pos, and threads.
|
inline |
Definition at line 188 of file system.hh.
References gem5::System::Threads::Thread::context, pos, gem5::System::Threads::thread(), and threads.
|
default |
|
inline |
|
private |
Definition at line 156 of file system.hh.
Referenced by operator*(), operator++(), operator->(), and operator==().
|
private |
Definition at line 155 of file system.hh.
Referenced by operator*(), operator++(), operator->(), and operator==().