#include <PerThreadStorage.h>
Public Member Functions | |
template<typename... Args> | |
PerPackageStorage (Args &&...args) | |
~PerPackageStorage () | |
T * | getLocal () const |
T * | getLocal (unsigned int thread) const |
Like getLocal() but optimized for when you already know the thread id. | |
T * | getRemote (unsigned int thread) const |
T * | getRemoteByPkg (unsigned int pkg) const |
unsigned | size () const |
Protected Attributes | |
unsigned | offset |
PerBackend & | b |
Galois::Runtime::PerPackageStorage< T >::PerPackageStorage | ( | Args &&... | args | ) | [inline] |
Galois::Runtime::PerPackageStorage< T >::~PerPackageStorage | ( | ) | [inline] |
T* Galois::Runtime::PerPackageStorage< T >::getLocal | ( | unsigned int | thread | ) | const [inline] |
Like getLocal() but optimized for when you already know the thread id.
T* Galois::Runtime::PerPackageStorage< T >::getLocal | ( | ) | const [inline] |
T* Galois::Runtime::PerPackageStorage< T >::getRemote | ( | unsigned int | thread | ) | const [inline] |
T* Galois::Runtime::PerPackageStorage< T >::getRemoteByPkg | ( | unsigned int | pkg | ) | const [inline] |
unsigned Galois::Runtime::PerPackageStorage< T >::size | ( | ) | const [inline] |
PerBackend& Galois::Runtime::PerPackageStorage< T >::b [protected] |
unsigned Galois::Runtime::PerPackageStorage< T >::offset [protected] |