Realm
A distributed, event-based tasking library
Loading...
Searching...
No Matches
Realm::MemoryHasMemAffinityPredicate Class Reference

#include <machine_impl.h>

Inheritance diagram for Realm::MemoryHasMemAffinityPredicate:
Collaboration diagram for Realm::MemoryHasMemAffinityPredicate:

Public Member Functions

 MemoryHasMemAffinityPredicate (Memory _memory, unsigned _min_bandwidth, unsigned _max_latency)
 
virtual MemoryQueryPredicateclone (void) const
 
virtual bool matches_predicate (const MachineImpl *machine, Memory thing, const MachineMemInfo *info=0) const
 
- Public Member Functions inherited from Realm::QueryPredicate< T, T2 >
virtual ~QueryPredicate (void)
 
virtual bool matches_predicate (const MachineImpl *machine, T thing, const T2 *info=0) const =0
 

Protected Attributes

Memory memory
 
unsigned min_bandwidth
 
unsigned max_latency
 

Constructor & Destructor Documentation

◆ MemoryHasMemAffinityPredicate()

Realm::MemoryHasMemAffinityPredicate::MemoryHasMemAffinityPredicate ( Memory  _memory,
unsigned  _min_bandwidth,
unsigned  _max_latency 
)

Member Function Documentation

◆ clone()

virtual MemoryQueryPredicate * Realm::MemoryHasMemAffinityPredicate::clone ( void  ) const
virtual

◆ matches_predicate()

virtual bool Realm::MemoryHasMemAffinityPredicate::matches_predicate ( const MachineImpl machine,
Memory  thing,
const MachineMemInfo info = 0 
) const
virtual

Member Data Documentation

◆ max_latency

unsigned Realm::MemoryHasMemAffinityPredicate::max_latency
protected

◆ memory

Memory Realm::MemoryHasMemAffinityPredicate::memory
protected

◆ min_bandwidth

unsigned Realm::MemoryHasMemAffinityPredicate::min_bandwidth
protected

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