gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::FutexKey Class Reference

FutexKey class defines an unique identifier for a particular futex in the system. More...

#include <futex_map.hh>

Public Member Functions

 FutexKey (uint64_t addr_in, uint64_t tgid_in)
 
bool operator== (const FutexKey &in) const
 

Public Attributes

uint64_t addr
 
uint64_t tgid
 

Detailed Description

FutexKey class defines an unique identifier for a particular futex in the system.

The tgid and an address are the unique values needed as the key.

Definition at line 44 of file futex_map.hh.

Constructor & Destructor Documentation

◆ FutexKey()

gem5::FutexKey::FutexKey ( uint64_t  addr_in,
uint64_t  tgid_in 
)

Definition at line 34 of file futex_map.cc.

Member Function Documentation

◆ operator==()

bool gem5::FutexKey::operator== ( const FutexKey in) const

Definition at line 38 of file futex_map.cc.

References addr, and tgid.

Member Data Documentation

◆ addr

uint64_t gem5::FutexKey::addr

Definition at line 47 of file futex_map.hh.

Referenced by std::hash< gem5::FutexKey >::operator()(), and operator==().

◆ tgid

uint64_t gem5::FutexKey::tgid

Definition at line 48 of file futex_map.hh.

Referenced by std::hash< gem5::FutexKey >::operator()(), and operator==().


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

Generated on Tue Sep 21 2021 12:27:37 for gem5 by doxygen 1.8.17