JANA2
C++ framework for multi-threaded data processing
JProcessorMapping Class Reference

Public Types

enum class  AffinityStrategy {
  None ,
  MemoryBound ,
  ComputeBound
}
 
enum class  LocalityStrategy {
  Global ,
  SocketLocal ,
  NumaDomainLocal ,
  CoreLocal ,
  CpuLocal
}
 

Public Member Functions

void initialize (AffinityStrategy affinity, LocalityStrategy locality)
 
size_t get_loc_count () const
 
size_t get_cpu_id (size_t worker_id) const
 
size_t get_loc_id (size_t worker_id) const
 
AffinityStrategy get_affinity () const
 
LocalityStrategy get_locality () const
 

Friends

std::ostream & operator<< (std::ostream &os, const JProcessorMapping &m)
 
std::ostream & operator<< (std::ostream &os, const AffinityStrategy &s)
 
std::ostream & operator<< (std::ostream &os, const LocalityStrategy &s)
 

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