gem5  v19.0.0.0
Public Member Functions | List of all members
std::hash< FutexKey > Struct Template 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

template<>
struct std::hash< FutexKey >

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 68 of file futex_map.hh.

Member Function Documentation

◆ operator()()

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

Definition at line 70 of file futex_map.hh.

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


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

Generated on Fri Feb 28 2020 16:27:26 for gem5 by doxygen 1.8.13