gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
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

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 Jun 9 2017 13:04:40 for gem5 by doxygen 1.8.6