gem5  v20.1.0.0
Public Member Functions | List of all members
std::hash< FutexKey > Struct Reference

The unordered_map structure needs the parenthesis operator defined for std::hash if a user defined key is used. More...

#include <futex_map.hh>

Public Member Functions

size_t operator() (const FutexKey &in) const
 

Detailed Description

The unordered_map structure needs the parenthesis operator defined for std::hash if a user defined key is used.

Our key is is user defined so we need to provide the hash functor.

Definition at line 58 of file futex_map.hh.

Member Function Documentation

◆ operator()()

size_t std::hash< FutexKey >::operator() ( const FutexKey in) const

Definition at line 41 of file futex_map.cc.

References FutexKey::addr, ArmISA::i, and FutexKey::tgid.


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

Generated on Wed Sep 30 2020 14:03:13 for gem5 by doxygen 1.8.17